Class
RadLineSegment

Defines a line segment within a path figure, specifying its end point relative to the bounding box of the containing geometry. The segment extends from the current position to the specified end point, where coordinates are normalized such that (0, 0) represents the bottom-left and (1, 1) the top-right corner of the bounding box.

Definition

Constructors

RadLineSegment()

Initializes a new instance of the line segment.

Declaration

cs-api-definition
public RadLineSegment()

RadLineSegment(Point)

Initializes a new instance of the line segment.

Declaration

cs-api-definition
public RadLineSegment(Point point)

Parameters

point

Point

Specifies the end point of the line 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.

Properties

Point

Gets or sets the end point of the line 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.

// Set the end point of the line segment to (0.5, 0.5) relative to the bounding box
var segment = new RadLineSegment();
segment.Point = new Point(0.5, 0.5);

Declaration

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

Property Value

Point