RadArcToSegment
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
Initializes a new instance of the arc segment.
public RadArcToSegment()
Initializes a new instance of the arc segment.
public RadArcToSegment(Point endPoint, Size radius, double rotationAngle, SweepDirection sweepDirection, bool isLargeArc)
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.
radiusSizeSpecifies 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.
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.
sweepDirectionSweepDirectionSpecifies the sweep direction of the arc segment.
isLargeArcboolSpecifies whether to draw the large arc segment.
Properties
EndPoint
Point
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.
public Point EndPoint { get; set; }
Gets or sets a value indicating whether to draw the large arc segment.
public bool IsLargeArc { get; set; }
Radius
Size
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.
public Size Radius { get; set; }
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.
public double RotationAngle { get; set; }
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.
public SweepDirection SweepDirection { get; set; }