RasterGraphics.line( x, y, x2, y2 )

Draw a line in the canvas using the current stroke style.


Name Type   Description
x number start X point
y number start Y point
x2 number end X point
y2 number end Y point


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