.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc

.. currentmodule:: wx.lib.floatcanvas.FCObjects

.. highlight:: python



.. _wx.lib.floatcanvas.FCObjects.LineAndFillMixin:

==========================================================================================================================================
|phoenix_title|  **wx.lib.floatcanvas.FCObjects.LineAndFillMixin**
==========================================================================================================================================

Mixin class for objects that have both a line and a fill color and
style.



|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>LineAndFillMixin</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.lib.floatcanvas.FCObjects.LineAndFillMixin_inheritance.svg" alt="Inheritance diagram of LineAndFillMixin" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.floatcanvas.FCObjects.LineAndFillMixin.html" title="Mixin class for objects that have both a line and a fill color and" alt="" coords="5,82,364,111"/> <area shape="rect" id="node2" href="wx.lib.floatcanvas.FCObjects.LineOnlyMixin.html" title="Mixin class for objects that have just a line, rather than a fill" alt="" coords="14,5,355,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|sub_classes| Known Subclasses
==============================

:class:`wx.lib.floatcanvas.FCObjects.Arc`, :class:`wx.lib.floatcanvas.FCObjects.Circle`, :class:`wx.lib.floatcanvas.FCObjects.Polygon`, :class:`wx.lib.floatcanvas.FCObjects.RectEllipse`

|


|super_classes| Known Superclasses
==================================

:class:`wx.lib.floatcanvas.FCObjects.LineOnlyMixin`

|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.lib.floatcanvas.FCObjects.LineAndFillMixin.SetFillColor`              Set the FillColor
:meth:`~wx.lib.floatcanvas.FCObjects.LineAndFillMixin.SetFillStyle`              Set the FillStyle
:meth:`~wx.lib.floatcanvas.FCObjects.LineAndFillMixin.SetUpDraw`                 Setup for draw
================================================================================ ================================================================================


|


|api| Class API
===============


.. class:: LineAndFillMixin(LineOnlyMixin)

   Mixin class for objects that have both a line and a fill color and
   style.

   .. method:: SetFillColor(self, FillColor)

      Set the FillColor
      
      :param `FillColor`: see :meth:`~lib.floatcanvas.FloatCanvas.DrawObject.SetColor`
       for valid values


   .. method:: SetFillStyle(self, FillStyle)

      Set the FillStyle
      
      :param `FillStyle`: see :meth:`~lib.floatcanvas.FloatCanvas.DrawObject.SetFillStyle`
       for valid values


   .. method:: SetUpDraw(self, dc, WorldToPixel, ScaleWorldToPixel, HTdc)

      Setup for draw
      
      :param `dc`: the dc to draw ???
      :param `WorldToPixel`: ???
      :param `ScaleWorldToPixel`: ???
      :param `HTdc`: ???


