Class ArcSegment
Draws an elliptical arc from the current point to the specified end point, parameterized by radii, sweep direction, and x-axis rotation.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Graphics
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public class ArcSegment : PathSegment
Constructors
ArcSegment()
Creates a new instance of the ArcSegment with defaults configured for a small, clockwise arc.
Declaration
public ArcSegment()
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
|
System.Windows.Point
point
The end point of the arc, relative to the figure’s coordinate space. |
|
System.Double
radiusX
The X-axis radius in document units, defining the ellipse width used for the arc. |
|
System.Double
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
|
System.Boolean
The is large arc. |
Point
End point of the arc relative to the figure’s coordinate space.
Declaration
public Point Point { get; set; }
Property Value
|
System.Windows.Point
The point. |
RadiusX
X‑axis radius in document units, defining the ellipse width used for the arc.
Declaration
public double RadiusX { get; set; }
Property Value
|
System.Double
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
|
System.Double
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
|
System.Double
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
|
SweepDirection
The sweep direction. |