- x1
- The x-coordinate (in pixels) for the starting point of the Bezier curve.
- y1
- The y-coordinate (in pixels) for the starting point of the Bezier curve.
- x2
- The x-coordinate (in pixels) for the first control point of the Bezier curve.
- y2
- The y-coordinate (in pixels) for the first controlpoint of the Bezier curve.
- x3
- The x-coordinate (in pixels) for the second control point of the Bezier curve.
- y3
- The y-coordinate (in pixels) for the second point of the Bezier curve.
- x4
- The x-coordinate (in pixels) for the end point of the Bezier curve.
- y4
- The y-coordinate (in pixels) for the end point of the Bezier curve.
- Color
The RGB color of the circles outline. You can use the RGB function to specify the color.
Note: Value specified must be in a valid OLE_COLOR range.
A Bezier curve is a simple cubic equation originally developed by Pierre Bzier in the 1970's for CAD/CAM operations. It became the under-pinnings for the Adobe PostScript drawing model.
The curve is drawn from the starting point (x1, y1) to the end point (x4, y4) by using the two control points (x2, y2) and (x3, y3).
The width of the line used to draw the curve depends on the setting of the DrawWidth property. The way the curve is drawn on the background depends on the setting of the DrawMode and DrawStyle properties.
This method draws into the control's DIB.