Skip to main content
All docs
V24.2

DXGraphics.DrawBezier(DXPen, PointF, PointF, PointF, PointF) Method

Draws a Bezier spline defined by points.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

Declaration

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

Parameters

Name Type Description
pen DXPen

An object that determines the color, width, and style of the curve.

pt1 PointF

The starting point of the curve.

pt2 PointF

The first control point of the curve.

pt3 PointF

The second control point of the curve.

pt4 PointF

The ending point of the curve.

See Also