[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.IPathExt.AddRect

AddRect Method

AddRect(IPath, RectangleF, FigureEnd)

Adds rect figure to the path. Note! Method calls BeginFigure(PointF) and EndFigure(FigureEnd), figureEnd used as parameter for EndFigure(FigureEnd).

Declaration
public static void AddRect(this IPath path, RectangleF bounds, FigureEnd figureEnd)
Public Shared Sub AddRect(path As IPath, bounds As RectangleF, figureEnd As FigureEnd)
Parameters
Type Name Description
IPath path

The IPath.

RectangleF bounds

The rectangle bounds.

FigureEnd figureEnd

The parameter of called EndFigure(FigureEnd).