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:
public class ArcSegment : PathSegment
Inheritance: objectPathSegmentArcSegment
Constructors
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.
public ArcSegment(Point point, double radiusX, double radiusY)
The end point of the arc, relative to the figure’s coordinate space.
radiusXdoubleThe X-axis radius in document units, defining the ellipse width used for the arc.
radiusYdoubleThe Y-axis radius in document units, defining the ellipse height used for the arc.
Properties
Selects the larger of the two possible arcs between the points when set to true.
public bool IsLargeArc { get; set; }
The is large arc.
Point
Point
End point of the arc relative to the figure’s coordinate space.
public Point Point { get; set; }
The point.
X‑axis radius in document units, defining the ellipse width used for the arc.
public double RadiusX { get; set; }
The radius X.
Y‑axis radius in document units, defining the ellipse height used for the arc.
public double RadiusY { get; set; }
The radius Y.
Rotation, in degrees, applied to the ellipse x‑axis relative to the path coordinate system.
public double RotationAngle { get; set; }
The x-axis rotation angle.
Direction in which the arc is drawn around the ellipse (clockwise or counterclockwise).
public SweepDirection SweepDirection { get; set; }
The sweep direction.