Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

PdfGraphics.DrawBezier(Pen, PointF, PointF, PointF, PointF) Method

Draws a Bezier spline defined by four Point structures.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v19.1.Drawing.dll

Declaration

public void DrawBezier(
    Pen pen,
    PointF pt1,
    PointF pt2,
    PointF pt3,
    PointF pt4
)

Parameters

Name Type Description
pen Pen

A Pen structure that determines the color, width, and style of the curve.

pt1 PointF

A Point structure that is the starting point of the curve.

pt2 PointF

A Point structure that is the first control point of the curve.

pt3 PointF

A Point structure that is the second control point of the curve.

pt4 PointF

A Point structure that is the final point of the curve.

Remarks

The Bezier curve starts from the first point and ends at the fourth point. The second and third points are control points that are the shape of the curve.

See Also