ClassRadPathFigure
Defines a geometric path figure consisting of a starting point and a sequence of connected path segments. The RadPathFigure is used to construct complex vector shapes by specifying a relative start point and a collection of segments such as lines, curves, or arcs. The coordinates for the start point are normalized relative to the bounding box of the containing geometry, where (0, 0) represents the bottom-left and (1, 1) the top-right corner.
Definition
Namespace:Telerik.Maui.Controls.Paths
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadPathFigure : NotifyPropertyChangedBase, INotifyPropertyChanged
Inheritance: objectNotifyPropertyChangedBaseRadPathFigure
Implements:
Inherited Members
Constructors
RadPathFigure()
Initializes a new instance of the path figure.
Declaration
public RadPathFigure()
Properties
Segments
Gets the collection of path segments describing the path figure.
Declaration
public ObservableItemCollection<RadPathSegment> Segments { get; }
Property Value
StartPoint
Gets or sets the start point of the path figure. 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.
var figure = new RadPathFigure
{
StartPoint = new Point(0.2, 0.3)
};
figure.Segments.Add(new RadLineSegment { Point = new Point(0.8, 0.3) });
Declaration
public Point StartPoint { get; set; }
Property Value
Point