CanvasItem.drawPolylineColors

Draws interconnected line segments with a uniform width, segment-by-segment coloring, and optional antialiasing. Colors assigned to line segments match by index between points and colors.

struct CanvasItem
@nogc nothrow
void
drawPolylineColors
(
in PoolVector2Array points
,
in PoolColorArray colors
,
in double width = 1
,
in bool antialiased = false
)

Meta