klyn.gui.windows.Painter.strokePolyline
method
public strokePolyline(points as IList<Double>) as Void
Description

Strokes one connected polyline with subpixel coordinates and the current dash pattern. Unlike strokeLines(), adjacent pairs share endpoints and the dash phase continues through every vertex. Drawing state, transforms and clipping are preserved.

Parameters
ParameterDescription
pointsAlternating finite x/y coordinates; at least two points.
Throws
  • ValueException for invalid coordinates, line width or dash pattern.
Example
painter.setLineDash([4.0, 2.0])
painter.strokePolyline([10.5, 20.0, 30.0, 40.5, 60.0, 20.0])