Partager via


SweepDirection

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a value that specifies whether an arc is drawn in the clockwise or counter-clockwise direction.

<object SweepDirection="SweepDirection"  .../>
value = object.SweepDirection
object.SweepDirection = value

Property Value

Type: SweepDirection Enumeration

A value that of the enumeration that specifies the direction in which the arc is drawn.

This property is read/write. The default value is Counterclockwise.

Managed Equivalent

SweepDirection

Remarks

For an ArcSegment with a specified Size, RotationAngle, start point, and end Point, four different arcs are possible. Specifying the IsLargeArc property reduces the number of possible arcs to two: an arc drawn from the start point to the end Point in a Clockwise direction and an arc drawn from the start point to the end point in a Counterclockwise direction.

Applies To

ArcSegment