[]
Draws a series of Bezier splines from an array of point structures.
public void DrawBeziers(Pen pen, PointF[] points)
Type | Name | Description |
---|---|---|
Pen | pen | A pen object that determines the color, width, and style of the Bezier splines. |
PointF[] | points | Array of point structures that represent the points that determine the curve. |
<p>The first spline requires four points, and each additional spline requires
three additional points (it starts from the last point in the previous spline).
Therefore, the points
array must contain at least four points,
and the total length minus one must be a multiple of three.
All coordinates are expressed in points, measured from the upper-left corner of the page.