Skip to main content
Pie
ra0

TcxCanvas.Polyline(TPoint[]) Method

Draws a polyline on the canvas.

Declaration

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