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.
Known Superclasses¶wx.lib.floatcanvas.FCObjects.DrawObject, wx.lib.floatcanvas.FCObjects.LineAndFillMixin, wx.lib.floatcanvas.FCObjects.XYObjectMixin
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.