Draws a Bezier spline specified using four ordered pairs of coordinates that represent points.
Syntax

[C#]

void DrawBezier(Pen pen, double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4);
void DrawBezier(Pen pen, PointF pt1, PointF pt2, PointF pt3, PointF pt4);

[Visual Basic]

Sub DrawBezier(pen As Pen, x1 As Double, y1 As Double, x2 As Double, y2 As Double, x3 As Double, y3 As Double, x4 As Double, y4 As Double)
Sub DrawBezier(pen As Pen, pt1 As PointF, pt2 As PointF, pt3 As PointF, pt4 As PointF)
Params
Name Description
pen The pen that should be used.
x1 The x coordinate of the curve start point.
y1 The y coordinate of the curve start point.
x2 The x coordinate of the first control point.
y2 The y coordinate of the first control point.
x3 The x coordinate of the second control point.
y3 The y coordinate of the second control point.
x4 The x coordinate of the curve end point.
y4 The y coordinate of the curve end point.
pt1 The curve start point.
pt2 First control point.
pt3 Second control point.
pt4 The curve end point.
Notes

None.

Example

None.