
wx.lib.floatcanvas.FCObjects.Arc¶Draws an arc of a circle, centered on point CenterXY, from
the first point StartXY to the second EndXY.
The arc is drawn in an anticlockwise direction from the start point to the end point.
Class Hierarchy¶
Inheritance diagram for class Arc:

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. |
|
Move the object by delta |
Class API¶Arc(XYObjectMixin, LineAndFillMixin, DrawObject)¶Draws an arc of a circle, centered on point CenterXY, from
the first point StartXY to the second EndXY.
The arc is drawn in an anticlockwise direction from the start point to the end point.
__init__(self, StartXY, EndXY, CenterXY, LineColor = "Black", LineStyle = "Solid", LineWidth = 1, FillColor = None, FillStyle = "Solid", InForeground = False)¶Default class constructor.
StartXY – start point, takes a 2-tuple, or a (2,) NumPy array of point coordinates
EndXY –
end point, takes a 2-tuple, or a (2,) NumPy array of point coordinates
CenterXY –
center point, takes a 2-tuple, or a (2,) NumPy array of point coordinates
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.