ArcSegment ArcSegment ArcSegment Class

Definition

Represents an elliptical arc between two points.

public : sealed class ArcSegment : PathSegment, IArcSegment
public sealed class ArcSegment : PathSegment, IArcSegment
Public 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)

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

Properties

Dispatcher Dispatcher Dispatcher

Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread.

(Inherited from DependencyObject)

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
Platform::Boolean bool bool

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

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.

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.

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.

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.

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.

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.

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.

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.

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.

Methods

ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

Clears the local value of a dependency property.

(Inherited from DependencyObject)

GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Returns any base value established for a dependency property, which would apply in cases where an animation is not active.

(Inherited from DependencyObject)

GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Returns the current effective value of a dependency property from a DependencyObject.

(Inherited from DependencyObject)

ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

Returns the local value of a dependency property, if a local value is set.

(Inherited from DependencyObject)

RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)

Registers a notification function for listening to changes to a specific DependencyProperty on this DependencyObject instance.

(Inherited from DependencyObject)

SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

Sets the local value of a dependency property on a DependencyObject.

(Inherited from DependencyObject)

UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

Cancels a change notification that was previously registered by calling RegisterPropertyChangedCallback.

(Inherited from DependencyObject)

See Also