ClassRadLineSegment
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
Namespace:Telerik.Maui.Controls.Paths
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadLineSegment : RadPathSegment, INotifyPropertyChanged
Inheritance: objectNotifyPropertyChangedBaseRadPathSegmentRadLineSegment
Implements:
Inherited Members
Constructors
RadLineSegment()
Initializes a new instance of the line segment.
Declaration
public RadLineSegment()
RadLineSegment(Point)
Initializes a new instance of the line segment.
Declaration
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
public Point Point { get; set; }
Property Value
Point