Class
RadPathFigure

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:

cs-api-definition
public class RadPathFigure : NotifyPropertyChangedBase, INotifyPropertyChanged

Inheritance: objectNotifyPropertyChangedBaseRadPathFigure

Implements: INotifyPropertyChanged

Inherited Members NotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, Action<T>, string)NotifyPropertyChangedBase.PropertyChanged

Constructors

RadPathFigure()

Initializes a new instance of the path figure.

Declaration

cs-api-definition
public RadPathFigure()

Properties

Segments

Gets the collection of path segments describing the path figure.

Declaration

cs-api-definition
public ObservableItemCollection<RadPathSegment> Segments { get; }

Property Value

ObservableItemCollection<RadPathSegment>

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

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

Property Value

Point