public Path AddPolygon(
params PointF[] points
)
Public Function AddPolygon (
ParamArray points As PointF()
) As Path
public:
Path^ AddPolygon(
... array<PointF>^ points
)
member AddPolygon :
points : PointF[] -> Path
The points specify the vertices of the polygon.
This method always adds a new closed figure to this Path.
The points are not validated here but in the moment of drawing the coordinates of the possibly transformed path points must fall into the bounds of an int value; otherwise, an OverflowException will be thrown.
ArgumentNullException | points is . |