TcxCanvas.PolyBezier(TPoint[]) Method
Draws a series of interconnected Bezier curves on the canvas.
Declaration
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.