Skip to main content

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

Draws a Bezier spline defined by four PointF structures.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

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

Parameters

Name Type Description
pen Pen

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

pt1 PointF

PointF structure that represents the starting point of the curve.

pt2 PointF

PointF structure that represents the first control point for the curve.

pt3 PointF

PointF structure that represents the second control point for the curve.

pt4 PointF

PointF structure that represents the ending point of the curve.

See Also