Arc​Segment Arc​Segment Arc​Segment Class

Definition

Represents an elliptical arc between two points.

public sealed class ArcSegment : PathSegment, IArcSegmentpublic sealed class ArcSegment : PathSegment, IArcSegmentPublic NotInheritable Class ArcSegment Inherits PathSegment Implements IArcSegment
<ArcSegment .../>
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Remarks

At a minimum each ArcSegment should have its RotationAngle and Size properties set, because these don't have useful defaults.

This class is relevant for setting the vector data for either a Path or a PathIcon.

Rather than creating an instance or an object element, you can also define an ArcSegment as part of a vector within the string for a Move and draw commands syntax.

Constructors

ArcSegment() ArcSegment() ArcSegment()

Initializes a new instance of the ArcSegment class.

public ArcSegment()public ArcSegment()Public Sub New()
Attributes

Properties

IsLargeArc IsLargeArc IsLargeArc

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

public PlatForm::Boolean IsLargeArc { get; set; }public bool IsLargeArc { get; set; }Public ReadWrite Property IsLargeArc As bool
<ArcSegment IsLargeArc="bool"/>
Value
bool bool bool

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

Attributes

IsLargeArcProperty IsLargeArcProperty IsLargeArcProperty

Identifies the IsLargeArc dependency property.

public static DependencyProperty IsLargeArcProperty { get; }public static DependencyProperty IsLargeArcProperty { get; }Public Static ReadOnly Property IsLargeArcProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The IsLargeArc dependency property identifier.

Attributes

Point Point Point

Gets or sets the endpoint of the elliptical arc.

public Point Point { get; set; }public Point Point { get; set; }Public ReadWrite Property Point As Point
<ArcSegment Point="x,y"/>
Value
Point Point Point

The point to which the arc is drawn. The default is a Point with value 0,0.

Attributes

PointProperty PointProperty PointProperty

Identifies the Point dependency property.

public static DependencyProperty PointProperty { get; }public static DependencyProperty PointProperty { get; }Public Static ReadOnly Property PointProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The Point dependency property identifier.

Attributes

RotationAngle RotationAngle RotationAngle

Gets or sets the amount (in degrees) by which the ellipse is rotated about the x-axis.

public double RotationAngle { get; set; }public double RotationAngle { get; set; }Public ReadWrite Property RotationAngle As double
<ArcSegment RotationAngle="double"/>
Value
double double double

The amount (in degrees) by which the ellipse is rotated about the x-axis. The default is 0.

Attributes

RotationAngleProperty RotationAngleProperty RotationAngleProperty

Identifies the RotationAngle dependency property.

public static DependencyProperty RotationAngleProperty { get; }public static DependencyProperty RotationAngleProperty { get; }Public Static ReadOnly Property RotationAngleProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The RotationAngle dependency property identifier.

Attributes

Size Size Size

Gets or sets the x-radius and y-radius of the arc as a Size structure.

public Size Size { get; set; }public Size Size { get; set; }Public ReadWrite Property Size As Size
<ArcSegment Size="width,height"/>
Value
Size Size Size

A Size structure that describes the x-radius and y-radius of the elliptical arc. The Size structure's Width value specifies the arc's x-radius; its Height value specifies the arc's y-radius. The default is a Size with value 0,0.

Attributes
See Also

SizeProperty SizeProperty SizeProperty

Identifies the Size dependency property.

public static DependencyProperty SizeProperty { get; }public static DependencyProperty SizeProperty { get; }Public Static ReadOnly Property SizeProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The Size dependency property identifier.

Attributes

SweepDirection SweepDirection SweepDirection

Gets or sets a value that specifies whether the arc is drawn in the Clockwise or Counterclockwise direction.

public SweepDirection SweepDirection { get; set; }public SweepDirection SweepDirection { get; set; }Public ReadWrite Property SweepDirection As SweepDirection
<ArcSegment SweepDirection="Clockwise"/>
-or-
<ArcSegment SweepDirection="Counterclockwise"/>
Value
SweepDirection SweepDirection SweepDirection

One of the enumeration values that specifies the direction in which the arc is drawn. The default is Counterclockwise.

Attributes

SweepDirectionProperty SweepDirectionProperty SweepDirectionProperty

Identifies the SweepDirection dependency property.

public static DependencyProperty SweepDirectionProperty { get; }public static DependencyProperty SweepDirectionProperty { get; }Public Static ReadOnly Property SweepDirectionProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The SweepDirection dependency property identifier.

Attributes

See Also