Partager via


ArcSegment.IsLargeArc Property

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.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Property IsLargeArc As Boolean
public bool IsLargeArc { get; set; }
<ArcSegment IsLargeArc="bool"/>

Property Value

Type: System.Boolean
true if the arc should be greater than 180 degrees; otherwise, false. The default is false.

Remarks

Dependency property identifier field: IsLargeArcProperty

For most arcs of a particular position, size, and rotation, there are four different arcs that can be drawn; the IsLargeArc and SweepDirection properties 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 IsLargeArc is true, then one of the two larger arc sweeps is chosen; otherwise, if IsLargeArc is false, one of the smaller arc sweeps is chosen. The remaining two arc candidates are each drawn in a different direction: Counterclockwise or Clockwise. The SweepDirection property specifies which one to use.

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

ArcSegment objects with different IsLargeArc settings

ArcSegments with different IsLargeArc settings

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.