RectPathBuilder
Class
Combines added rectangles into closed outline figures, merging touching horizontal segments where possible.
Definition
Namespace:Telerik.WinForms.Documents.Selection.PathBuilder
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class RectPathBuilder
Inheritance: objectRectPathBuilder
Constructors
Creates an empty rectangle-outline accumulator.
C#
public RectPathBuilder()
Methods
Adds a rectangle to the current outline batch. Rectangles whose horizontal edges touch may be merged into one figure.
Enumerates the accumulated outlines as point sequences, then clears the accumulator for the next batch.
C#
public IEnumerable<IEnumerable<PointF>> GetFiguresAndStartNew()
IEnumerable<IEnumerable<PointF>>
The point sequences that form the accumulated outline figures.