A RectEllipse draw object.
wx.lib.floatcanvas.FCObjects.Ellipse
, wx.lib.floatcanvas.FCObjects.Rectangle
wx.lib.floatcanvas.FCObjects.DrawObject
, wx.lib.floatcanvas.FCObjects.LineAndFillMixin
, wx.lib.floatcanvas.FCObjects.XYObjectMixin
Default class constructor. |
|
Calculate the bounding box. |
|
Set the shape of the object. |
RectEllipse
(XYObjectMixin, LineAndFillMixin, DrawObject)¶A RectEllipse draw object.
__init__
(self, XY, WH, LineColor = "Black", LineStyle = "Solid", LineWidth = 1, FillColor = None, FillStyle = "Solid", InForeground = False)¶Default class constructor.
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.