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.
wx.lib.floatcanvas.FCObjects.DrawObject
, wx.lib.floatcanvas.FCObjects.LineAndFillMixin
, wx.lib.floatcanvas.FCObjects.XYObjectMixin
__init__ |
Default class constructor. |
CalcBoundingBox |
Calculate the bounding box. |
Move |
Move the object by delta |
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.
Parameters: |
|
---|
CalcBoundingBox
(self)¶Calculate the bounding box.