public Path AddPoint(
PointF point
)Public Function AddPoint (
point As PointF
) As Pathpublic:
Path^ AddPoint(
PointF point
)member AddPoint :
point : PointF -> Path If the current figure is empty or closed, the added point will be the starting point of a new figure. Otherwise, the added point will be connected to the last point of the figure.
When the Path is filled, the figures require at least 3 non-collinear points to be rendered. When the Path is drawn, even a single point is rendered. If the Pen.Width is 1, it means drawing a single pixel, in which case it's much faster to use the IWritableBitmapData.SetColor32 method instead.
The point parameter is 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.