New to Telerik UI for WinForms? Start a free 30-day trial

Defines a path figure by a start point, an ordered segment list, and flags that control closing and filling.

Definition

Namespace:Telerik.WinControls.Spreadsheet.UI

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
public sealed class PathFigure

Inheritance: objectPathFigure

Constructors

Initializes an empty segment list. The start point is the origin, the figure is open, and filling is enabled.

C#
public PathFigure()

Properties

Gets or sets whether the path renderer treats this figure as closed and draws it as a polygon.

C#
public bool IsClosed { get; set; }

Gets or sets whether the path renderer fills this figure when a fill brush is available. The default is true.

C#
public bool IsFilled { get; set; }

Gets the mutable, ordered list of line segments that follow StartPoint.

C#
public List<PathSegment> Segments { get; }

Gets or sets the first point in the figure. The default is Empty.

C#
public PointF StartPoint { get; set; }