TWidgetSet.Polyline function
Draws a sequence of lines between the specified points.
Declaration
function Polyline(DC: HDC; Points: PPoint; NumPts: Integer): Boolean
; virtualDescription
Use Polyline to connect a set of points on the canvas.
The Points parameter is an array of points to be connected. If you specify only two points, Polyline draws a single line.
Calling the MoveTo function with the value of the first point, and then repeatedly calling LineTo with all subsequent points will draw the same image on the canvas. Unlike LineTo, Polyline does not change the value of PenPos.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
