Table of Contents

Class Arc

Namespace
Avalonia.Controls.Shapes
Assembly
Avalonia.Controls.dll

Represents a circular or elliptical arc (a segment of a curve).

public class Arc : Shape, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, IStyleable, INamed, IInputElement, IDataTemplateHost, ISetterValue
Inheritance
Arc
Implements
Inherited Members
Extension Methods

Constructors

Arc()

public Arc()

Fields

StartAngleProperty

Defines the StartAngle property.

public static readonly StyledProperty<double> StartAngleProperty

Field Value

StyledProperty<double>

SweepAngleProperty

Defines the SweepAngle property.

public static readonly StyledProperty<double> SweepAngleProperty

Field Value

StyledProperty<double>

Properties

StartAngle

Gets or sets the angle at which the arc starts, in degrees.

public double StartAngle { get; set; }

Property Value

double

SweepAngle

Gets or sets the angle, in degrees, added to the StartAngle defining where the arc ends. A positive value is clockwise, negative is counter-clockwise.

public double SweepAngle { get; set; }

Property Value

double

Methods

CreateDefiningGeometry()

Creates the shape's defining geometry.

protected override Geometry CreateDefiningGeometry()

Returns

Geometry

Defining Geometry of the shape.