Image object
Property | Description | Access | Type |
---|---|---|---|
Image.width | Get the canvas's width | readonly | number |
Image.height | Get the canvas's height | readonly | number |
Method | Description | Return value |
---|---|---|
Image:draw() | Draws the Image on the Canvas | - |
Image:drawrect() | Draws the Image resized on the Canvas | - |