Draws a sequence of connected lines defined by arrays of x and y coordinates.

Properties

Property

Default

Notes

points

 

An even list of points

Example

polyline( points: [60, 100, 110, 100, 100, 10, 80, 10, 80, 30, 90, 30], borderColor: 'black', borderWidth: 5 )