DrawBezier Method
DrawBezier(Pen, Point, Point, Point, Point)
Draws a Bézier spline defined by four Point structures.
Declaration
public void DrawBezier(Pen pen, Point startPoint, Point controlPoint1, Point controlPoint2, Point endPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| Pen | pen | Pen that determines the color, width, and style of the curve. |
| Point | startPoint | Point structure that represents the starting point of the curve. |
| Point | controlPoint1 | Point structure that represents the first control point for the curve. |
| Point | controlPoint2 | Point structure that represents the second control point for the curve. |
| Point | endPoint | Point structure that represents the ending point of the curve. |