Skip to: Site menu | Main content

Groovy 

      Download | Documentation | Developers | Community

An agile dynamic language for the Java Platform

GraphicsBuilder - Outlines - Polyline Add comment to Wiki View in Wiki Edit Wiki page Printable Version

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 )