Skip to main content
All docs
V24.1

DXGraphicsPath.AddBezier(Single, Single, Single, Single, Single, Single, Single, Single) Method

Adds a cubic Bezier curve to the current figure.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public void AddBezier(
    float x1,
    float y1,
    float x2,
    float y2,
    float x3,
    float y3,
    float x4,
    float y4
)

Parameters

Name Type Description
x1 Single

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

y1 Single

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

x2 Single

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

y2 Single

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

x3 Single

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

y3 Single

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

x4 Single

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

y4 Single

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

See Also