Class
Figure

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:

cs-api-definition
public class Figure : IEnumerable<PointF>, IEnumerable

Inheritance: objectFigure

Implements: IEnumerableIEnumerable<PointF>

Constructors

Figure(RadLinkedListNode<PointF>, RadLinkedListNode<PointF>)

Declaration

cs-api-definition
public Figure(RadLinkedListNode<PointF> head, RadLinkedListNode<PointF> tail)

Parameters

head

RadLinkedListNode<PointF>

tail

RadLinkedListNode<PointF>

Figure(RectangleF)

Declaration

cs-api-definition
public Figure(RectangleF rect)

Parameters

rect

RectangleF

Fields

BottomY

Declaration

cs-api-definition
public double BottomY

Field Value

double

MergingRegions

Declaration

cs-api-definition
public List<MergeRegion> MergingRegions

Field Value

List<MergeRegion>

Points

Declaration

cs-api-definition
public RadLinkedList<PointF> Points

Field Value

RadLinkedList<PointF>

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection of figures.

Declaration

cs-api-definition
public IEnumerator<PointF> GetEnumerator()

Returns

IEnumerator<PointF>

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

Implements IEnumerable<PointF>.GetEnumerator()

RecalculateMergingRegions(double)

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

Declaration

cs-api-definition
public void RecalculateMergingRegions(double newY)

Parameters

newY

double

The tolerance value used to determine the merging regions.