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.Polyline(TPoint[]) Method

Draws a polyline on the canvas.

#Declaration

Delphi
procedure Polyline(const Points: array of TPoint); reintroduce; overload;

#Parameters

Name Type
Points TPoint

#Remarks

Call either of the overloaded procedure variants and pass an array of points as the P parameter to draw a series of interconnected line segments across these points. A single Polyline procedure call replaces a series of LineTo procedure calls.

If an accepted array consists of two points, the Polyline procedure draws a single straight line like the Line procedure does.

See Also