[]
Draws a Bezier spline defined by four point structures.
public void DrawBezier(Pen pen, PointF start, PointF ctl1, PointF ctl2, PointF end)
Type | Name | Description |
---|---|---|
Pen | pen | Pen object that determines the color, width, and style of the Bezier spline. |
PointF | start | A point structure that represents the starting point of the curve. |
PointF | ctl1 | A point structure that represents the first control point for the curve. |
PointF | ctl2 | A point structure that represents the second control point for the curve. |
PointF | end | A point structure that represents the ending point of the curve. |
All coordinates are expressed in points, measured from the upper-left corner of the page.