ArcSegment.IsLargeArc Property

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

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public bool IsLargeArc { get; set; }
<object IsLargeArc="bool" .../>

Property Value

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

Identifier field

IsLargeArcProperty

Metadata properties set to true

None

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 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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft