[]
Adds rect figure to the path.
Note! Method calls BeginFigure(PointF) and EndFigure(FigureEnd),
figureEnd
used as parameter for EndFigure(FigureEnd).
public static void AddRect(this IPath path, RectangleF bounds, FigureEnd figureEnd)
Public Shared Sub AddRect(path As IPath, bounds As RectangleF, figureEnd As FigureEnd)
Type | Name | Description |
---|---|---|
IPath | path | The IPath. |
RectangleF | bounds | The rectangle bounds. |
FigureEnd | figureEnd | The parameter of called EndFigure(FigureEnd). |