Class
ArcSegment

Draws an elliptical arc from the current point to the specified end point, parameterized by radii, sweep direction, and x-axis rotation.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Graphics

Assembly:Telerik.Windows.Documents.Core.dll

Syntax:

cs-api-definition
public class ArcSegment : PathSegment

Inheritance: objectPathSegmentArcSegment

Constructors

ArcSegment(Point, double, double)

Initializes a new instance of the ArcSegment class with the specified end point and radii. The arc is configured as a small, clockwise arc by default.

Declaration

cs-api-definition
public ArcSegment(Point point, double radiusX, double radiusY)

Parameters

point

Point

The end point of the arc, relative to the figure’s coordinate space.

radiusX

double

The X-axis radius in document units, defining the ellipse width used for the arc.

radiusY

double

The Y-axis radius in document units, defining the ellipse height used for the arc.

Properties

IsLargeArc

Selects the larger of the two possible arcs between the points when set to true.

Declaration

cs-api-definition
public bool IsLargeArc { get; set; }

Property Value

bool

The is large arc.

Point

End point of the arc relative to the figure’s coordinate space.

Declaration

cs-api-definition
public Point Point { get; set; }

Property Value

Point

The point.

RadiusX

X‑axis radius in document units, defining the ellipse width used for the arc.

Declaration

cs-api-definition
public double RadiusX { get; set; }

Property Value

double

The radius X.

RadiusY

Y‑axis radius in document units, defining the ellipse height used for the arc.

Declaration

cs-api-definition
public double RadiusY { get; set; }

Property Value

double

The radius Y.

RotationAngle

Rotation, in degrees, applied to the ellipse x‑axis relative to the path coordinate system.

Declaration

cs-api-definition
public double RotationAngle { get; set; }

Property Value

double

The x-axis rotation angle.

SweepDirection

Direction in which the arc is drawn around the ellipse (clockwise or counterclockwise).

Declaration

cs-api-definition
public SweepDirection SweepDirection { get; set; }

Property Value

SweepDirection

The sweep direction.