ClassArcSegment
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:
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
public ArcSegment(Point point, double radiusX, double radiusY)
Parameters
point
The end point of the arc, relative to the figure’s coordinate space.
radiusX
The X-axis radius in document units, defining the ellipse width used for the arc.
radiusY
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
public bool IsLargeArc { get; set; }
Property Value
The is large arc.
Point
End point of the arc relative to the figure’s coordinate space.
RadiusX
X‑axis radius in document units, defining the ellipse width used for the arc.
Declaration
public double RadiusX { get; set; }
Property Value
The radius X.
RadiusY
Y‑axis radius in document units, defining the ellipse height used for the arc.
Declaration
public double RadiusY { get; set; }
Property Value
The radius Y.
RotationAngle
Rotation, in degrees, applied to the ellipse x‑axis relative to the path coordinate system.
Declaration
public double RotationAngle { get; set; }
Property Value
The x-axis rotation angle.
SweepDirection
Direction in which the arc is drawn around the ellipse (clockwise or counterclockwise).
Declaration
public SweepDirection SweepDirection { get; set; }
Property Value
The sweep direction.