Table Of Contents

Previous topic

_MouseEvent

Next topic

Arrow

This Page

phoenix_title Arc


class_hierarchy Inheritance Diagram

Inheritance diagram for class Arc

Inheritance diagram of Arc


method_summary Methods Summary

__init__ Draws an arc of a circle, centered on point CenterXY, from
CalcBoundingBox  
Move Move(Delta): moves the object by delta, where delta is a

api Class API



class Arc(XYObjectMixin, LineAndFillMixin, DrawObject)

Methods



__init__(self, StartXY, EndXY, CenterXY, LineColor = "Black", LineStyle = "Solid", LineWidth = 1, FillColor = None, FillStyle = "Solid", InForeground = False)

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.

Parameters:
StartXY : start point EndXY : end point CenterXY: center point LineColor = “Black”, LineStyle = “Solid”, LineWidth = 1, FillColor = None, FillStyle = “Solid”, InForeground = False):


CalcBoundingBox(self)


Move(self, Delta)

Move(Delta): moves the object by delta, where delta is a (dx,dy) pair. Ideally a Numpy array of shape (2,)