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, Point, Point, Point, Point) Method

In This Article

Draws a Bezier spline defined by four Point structures.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

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

#Parameters

Name Type Description
pen Pen

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

pt1 Point

Point structure that represents the starting point of the curve.

pt2 Point

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

pt3 Point

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

pt4 Point

Point structure that represents the ending point of the curve.

See Also