ArcSegment.Point Property

Gets or sets the endpoint of the elliptical arc.

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 Point Point { get; set; }
<object>
  <object.Point>
    <Point .../>
  </object.Point>
</object>
<object Point="Point" .../>

Property Value

Type: System.Windows.Point
The point to which the arc is drawn. The default value is (0,0).

Identifier field

PointProperty

Metadata properties set to true

None

The ArcSegment class defines only the destination point of the arc it represents; the beginning point of the arc is the current point of the PathFigure to which the ArcSegment is added.

If the arc segment's start point and end point are the same, no arc is drawn.

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 several elliptical arcs that are identical except for their Point settings.

Several ArcSegment objects with different Point settings

ArcSegments with different Point 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