Skip to main content
Pie
ra0

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

TcxCanvas.PolyBezier(TPoint[]) Method

Draws a series of interconnected Bezier curves on the canvas.

#Declaration

Delphi
procedure PolyBezier(const Points: array of TPoint);

#Parameters

Name Type
Points TPoint

#Remarks

Call this procedure and pass an array of points as the Points parameter to draw a series of interconnected cubic Bezier curves. Four points in the specified array define each curve in a series: the PolyBezier procedure draws a curve between the first and fourth points; the second and third points are the control points for this segment. Each subsequent curve segment requires only three additional points, since it starts at the end of the preceding segment. If the Points array does not contain enough points to draw a whole number of curve segments, the PolyBezier procedure draws all completely defined segments and ignores any remaining points.

The PolyBezier procedure uses the Pen settings to draw Bezier curves.

See Also