.. wxPython Phoenix documentation

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

   Copyright: (c) 2011-2018 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 id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;">
   <img id="toggleBlock-trigger" src="_static/images/closed.png"/>
   Inheritance diagram for class <strong>LineAndFillMixin</strong>:
   </div>
   <div id="toggleBlock-summary" style="display:block;"></div>
   <div id="toggleBlock-content" style="display:none;">
   <p class="graphviz">
   <center><img src="_static/images/inheritance/wx.lib.floatcanvas.FCObjects.LineAndFillMixin_inheritance.png" alt="Inheritance diagram of LineAndFillMixin" usemap="#dummy" class="inheritance"/></center>
   <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
   <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,83,331,112"/> <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="12,5,324,35"/> </map> 
   </p>
   </div>

|


|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`: ???