New to Telerik UI for WPFStart a free 30-day trial

Figure

Class

Represents a figure in the PathBuilder for creating and managing geometric shapes.

Definition

Namespace:Telerik.Windows.Documents.Selection.PathBuilder

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class Figure : IEnumerable<PointF>, IEnumerable

Inheritance: objectFigure

Implements: IEnumerableIEnumerable<PointF>

Constructors

C#
public Figure(RadLinkedListNode<PointF> head, RadLinkedListNode<PointF> tail)
Parameters:headRadLinkedListNode<PointF>tailRadLinkedListNode<PointF>
C#
public Figure(RectangleF rect)
Parameters:rectRectangleF

Fields

C#
public double BottomY
C#
public List<MergeRegion> MergingRegions
C#
public RadLinkedList<PointF> Points

Methods

Returns an enumerator that iterates through the collection of figures.

C#
public IEnumerator<PointF> GetEnumerator()
Returns:

IEnumerator<PointF>

An enumerator that provides the ability to iterate through the collection of figures.

Implements: IEnumerable<PointF>.GetEnumerator()

Recalculates the merging regions for the figure based on the specified parameter.

C#
public void RecalculateMergingRegions(double newY)
Parameters:newYdouble

The tolerance value used to determine the merging regions.