wx.lib.floatcanvas.FCObjects.RectEllipse¶
A RectEllipse draw object.
Class Hierarchy¶
Known Subclasses¶
wx.lib.floatcanvas.FCObjects.Ellipse
, wx.lib.floatcanvas.FCObjects.Rectangle
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. |
|
Set the shape of the object. |
Class API¶
- class RectEllipse(XYObjectMixin, LineAndFillMixin, DrawObject)¶
A RectEllipse draw object.
Methods¶
- __init__(self, XY, WH, LineColor='Black', LineStyle='Solid', LineWidth=1, FillColor=None, FillStyle='Solid', InForeground=False)¶
Default class constructor.
- Parameters:
XY – the (x, y) coordinate of the corner of RectEllipse, or a 2-tuple, or a (2,) NumPy array
WH – a tuple with the Width and Height for the object
LineColor – see
SetColor
LineStyle – see
SetLineStyle
LineWidth – see
SetLineWidth
FillColor – see
SetColor
FillStyle – see
SetFillStyle
InForeground – put object in foreground
- CalcBoundingBox(self)¶
Calculate the bounding box.