ArcSegment ArcSegment ArcSegment ArcSegment 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// This API is not available in Javascript.
<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() ArcSegment()

Initializes a new instance of the ArcSegment class.

public : ArcSegment()public ArcSegment()Public Sub New()// This API is not available in Javascript.

Properties

IsLargeArc 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// This API is not available in Javascript.
<ArcSegment IsLargeArc="bool"/>
Value
PlatForm::Boolean bool bool bool

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

IsLargeArcProperty 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// This API is not available in Javascript.

Point 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// This API is not available in Javascript.
<ArcSegment Point="x,y"/>
Value
Point Point Point Point

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

PointProperty 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// This API is not available in Javascript.

RotationAngle 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// This API is not available in Javascript.
<ArcSegment RotationAngle="double"/>
Value
double double double double

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

RotationAngleProperty 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// This API is not available in Javascript.

Size 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// This API is not available in Javascript.
<ArcSegment Size="width,height"/>
Value
Size 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.

See Also

SizeProperty 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// This API is not available in Javascript.

SweepDirection 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// This API is not available in Javascript.
<ArcSegment SweepDirection="Clockwise"/>
-or-
<ArcSegment SweepDirection="Counterclockwise"/>
Value
SweepDirection SweepDirection SweepDirection SweepDirection

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

SweepDirectionProperty 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// This API is not available in Javascript.

See Also