Class
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

Constructors

RadArcToSegment()

Initializes a new instance of the arc segment.

Declaration

cs-api-definition
public RadArcToSegment()

RadArcToSegment(Point, Size, double, SweepDirection, bool)

Initializes a new instance of the arc segment.

Declaration

cs-api-definition
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

double

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

SweepDirection

Specifies the sweep direction of the arc segment.

isLargeArc

bool

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

cs-api-definition
public Point EndPoint { get; set; }

Property Value

Point

IsLargeArc

Gets or sets a value indicating whether to draw the large arc segment.

Declaration

cs-api-definition
public bool IsLargeArc { get; set; }

Property Value

bool

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

cs-api-definition
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.

Declaration

cs-api-definition
public double RotationAngle { get; set; }

Property Value

double

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

cs-api-definition
public SweepDirection SweepDirection { get; set; }

Property Value

SweepDirection