Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

Draws a Bezier spline defined by four ordered pairs of coordinates that represent points.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

public void DrawBezier(
    Pen pen,
    float x1,
    float y1,
    float x2,
    float y2,
    float x3,
    float y3,
    float x4,
    float y4
)

#Parameters

Name Type Description
pen Pen

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

x1 Single

The x-coordinate of the starting point of the curve.

y1 Single

The y-coordinate of the starting point of the curve.

x2 Single

The x-coordinate of the first control point of the curve.

y2 Single

The y-coordinate of the first control point of the curve.

x3 Single

The x-coordinate of the second control point of the curve.

y3 Single

The y-coordinate of the second control point of the curve.

x4 Single

The x-coordinate of the ending point of the curve.

y4 Single

The y-coordinate of the ending point of the curve.

See Also