RasterGraphics.setSize( width, height )

Set the canvas width and height.

Parameters

Name Type   Description
width number width in pixels.
height number height in pixels.

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