ArcSegment Constructor (Point, Size, Double, Boolean, SweepDirection, Boolean)
Initializes a new instance of the ArcSegment class.
Assembly: PresentationCore (in PresentationCore.dll)
public ArcSegment( Point point, Size size, double rotationAngle, bool isLargeArc, SweepDirection sweepDirection, bool isStroked )
- Type: System.Windows.Point
- Type: System.Windows.Size
The x-axis rotation of the ellipse.
Whether the arc should be greater than 180 degrees.
- Type: System.Windows.Media.SweepDirection
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.
Available since 3.0