Parameters
- pen
- A pen object that determines the color, width, and style of the Bezier splines.
- points
- Array of point structures that represent the points that determine the curve.
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.