RasterGraphics.polyline( points [, filled] )

Draw a poly-line in the canvas using the current stroke and fill styles.

Parameters

Name Type   Description
points array Array of 2-element-array objects containing the values in the path to be sketched. For example: [ [x0,y0], [x1,y1], [x2,y2], [x4,y4], etc. ]
filled boolean optional True fills the polygon with the current fill color; false does not fill the polygon.

Returns

Type Description
object The graphics object. This allow for chaining multiple setter methods in one single statement.
Home Examples Download License
 
Copyright © 2010-2017 Edwin R. López