Draws a circle
wx.lib.floatcanvas.FCObjects.DrawObject
, wx.lib.floatcanvas.FCObjects.LineAndFillMixin
, wx.lib.floatcanvas.FCObjects.XYObjectMixin
__init__ |
Default class constructor. |
CalcBoundingBox |
Calculate the bounding box of the object. |
SetDiameter |
Set the diameter of the object |
Circle
(XYObjectMixin, LineAndFillMixin, DrawObject)¶Draws a circle
__init__
(self, XY, Diameter, LineColor = "Black", LineStyle = "Solid", LineWidth = 1, FillColor = None, FillStyle = "Solid", InForeground = False)¶Default class constructor.
Parameters: |
|
---|
CalcBoundingBox
(self)¶Calculate the bounding box of the object.
SetDiameter
(self, Diameter)¶Set the diameter of the object
Parameters: | Diameter (integer) – the diameter for the object |
---|