[]
Contains extension methods for IPath.
public static class IPathExt
Adds ellipse figure to the path.
Note! Method calls BeginFigure(PointF) and EndFigure(FigureEnd),
figureEnd
used as parameter for EndFigure(FigureEnd).
public static void AddEllipse(this IPath path, RectangleF bounds, FigureEnd figureEnd)
path
IPathThe IPath.
bounds
System.Drawing.RectangleFThe ellipse's bounds.
figureEnd
FigureEndThe parameter of called EndFigure(FigureEnd).
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)
path
IPathThe IPath.
bounds
System.Drawing.RectangleFThe rectangle bounds.
figureEnd
FigureEndThe parameter of called EndFigure(FigureEnd).