ClassRadArcToSegment
Represents an elliptical arc segment within a path figure, allowing precise control over its geometry. This segment is defined by its end point, radii along the X and Y axes, rotation angle, sweep direction, and arc size. Use RadArcToSegment to create curved path figures for advanced vector graphics scenarios.
Definition
Namespace:Telerik.Maui.Controls.Paths
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadArcToSegment : RadPathSegment, INotifyPropertyChanged
Inheritance: objectNotifyPropertyChangedBaseRadPathSegmentRadArcToSegment
Implements:
Inherited Members
Constructors
RadArcToSegment()
Initializes a new instance of the arc segment.
Declaration
public RadArcToSegment()
RadArcToSegment(Point, Size, double, SweepDirection, bool)
Initializes a new instance of the arc segment.
Declaration
public RadArcToSegment(Point endPoint, Size radius, double rotationAngle, SweepDirection sweepDirection, bool isLargeArc)
Parameters
endPoint
Point
Specifies the end point of the arc segment. The point coordinates are relative to the containing geometry's bounding box, where (0, 0) is the bottom-left corner and (1, 1) is the top-right corner.
radius
Size
Specifies the radius of the arc segment, where Width
corresponds to the radius along the X axis and Height
corresponds to the radius along the Y axis.
rotationAngle
Specifies the rotation angle of the arc segment in the cartesian coordinate system, where 0 points to the right and 90 points up. This value is measured in degrees, where 360 represents a full circle.
sweepDirection
Specifies the sweep direction of the arc segment.
isLargeArc
Specifies whether to draw the large arc segment.
Properties
EndPoint
Gets or sets the end point of the arc segment. The point coordinates are relative to the containing geometry's bounding box, where (0, 0) is the bottom-left corner and (1, 1) is the top-right corner.
Declaration
public Point EndPoint { get; set; }
Property Value
Point
IsLargeArc
Gets or sets a value indicating whether to draw the large arc segment.
Radius
Gets or sets the radius of the arc segment, where Width
corresponds to the radius along the X axis and Height
corresponds to the radius along the Y axis.
Declaration
public Size Radius { get; set; }
Property Value
Size
RotationAngle
Gets or sets the rotation angle of the arc segment in the cartesian coordinate system, where 0 points to the right and 90 points up. This value is measured in degrees, where 360 represents a full circle.
SweepDirection
Gets or sets the sweep direction of the arc segment with positive values indicating a counter-clockwise direction. This value is measured in degrees, where 360 represents a full circle.
Declaration
public SweepDirection SweepDirection { get; set; }
Property Value