Export (0) Print
Expand All

ArcSegment Constructor

Initializes a new instance of the ArcSegment class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method ArcSegment() Initializes a new instance of the ArcSegment class.
Public method ArcSegment(Point, Size, Double, Boolean, SweepDirection, Boolean) Initializes a new instance of the ArcSegment class.
Top

The ArcSegment class defines only the destination point of the arc it represents; the beginning point of the arc is the current point of the PathFigure, to which the ArcSegment is added.

For most elliptical arcs of a particular position, size, and rotation, there are four different arcs that can be drawn; the largeArc and sweepDirection parameters indicate which arc to use.

Of the four candidate arc sweeps, two represent large arcs with sweeps of 180 degrees or greater, and two represent smaller arcs with sweeps 180 degrees or less. If largeArc is true, then one of the two larger arc sweeps is chosen; otherwise, if largeArc is false, one of the smaller arc sweeps is chosen.

If sweepDirection is Clockwise, the arc is drawn in a positive-angle direction. If sweepDirection is Counterclockwise, the arc is drawn in a negative-angle direction.

Show:
© 2014 Microsoft