
wx.lib.floatcanvas.FCObjects.Circle¶Draws a circle
Class Hierarchy¶
Inheritance diagram for class Circle:

Known Superclasses¶wx.lib.floatcanvas.FCObjects.DrawObject, wx.lib.floatcanvas.FCObjects.LineAndFillMixin, wx.lib.floatcanvas.FCObjects.XYObjectMixin
Methods Summary¶Default class constructor. |
|
Calculate the bounding box of the object. |
|
Set the diameter of the object |
Class API¶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.
XY – the (x, y) coordinate of the center of the circle, or a 2-tuple, or a (2,) NumPy array
Diameter (integer) – the diameter for the object
LineColor – see SetColor
LineStyle – see SetLineStyle
LineWidth – see SetLineWidth
FillColor – see SetColor
FillStyle – see SetFillStyle
InForeground (boolean) – should object be in foreground
CalcBoundingBox(self)¶Calculate the bounding box of the object.
SetDiameter(self, Diameter)¶Set the diameter of the object
Diameter (integer) – the diameter for the object