Condividi tramite


IsLargeArc

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

Gets or sets a value that indicates whether the arc should be greater than 180 degrees.

<object IsLargeArc="Boolean"  .../>
value = object.IsLargeArc
object.IsLargeArc = value

Property Value

Type: Boolean

true if the arc should be greater than 180 degrees; otherwise, false.

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

Managed Equivalent

IsLargeArc

Remarks

For most arcs of a particular position, size, and rotation, there are four arcs that can be drawn. Two represent large arcs with sweeps of 180 degrees or greater, and two represent smaller arcs with sweeps of 180 degrees or less. The two arcs in each set are drawn in different directions: clockwise and counter-clockwise.

An arc of exactly 180 degrees ignores the IsLargeArc setting.

The IsLargeArc and SweepDirection properties indicate which arc to use.

If IsLargeArc is true, one of the two larger arc sweeps is chosen; otherwise, one of the smaller arc sweeps is chosen. The SweepDirection property specifies whether to use the clockwise or counter-clockwise arc.

The following illustration shows two elliptical arcs that are identical except for their IsLargeArc settings.

ArcSegments with different IsLargeArc settings

IsLargeArc True versus False.

Applies To

ArcSegment

See Also

Reference