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

Represents a builder for creating rectangular paths in a selection context.

Definition

Namespace:Telerik.Windows.Documents.Selection.PathBuilder

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class RectPathBuilder

Inheritance: objectRectPathBuilder

Constructors

C#
public RectPathBuilder()

Methods

Adds a rectangle to the path builder using the specified rectangle.

C#
public void AddRect(RectangleF rect)
Parameters:rectRectangleF

The rectangle to be added to the path.

Retrieves the figures from the current path and initiates a new path.

C#
public IEnumerable<IEnumerable<PointF>> GetFiguresAndStartNew()
Returns:

IEnumerable<IEnumerable<PointF>>

A collection of figures that are part of the current path.