properties of a canvas
get / set the x position of a canvas
| Parameter | Type | Description |
|---|---|---|
| canvas | String | id of the canvas |
| x | Int | (Optional) x position of the canvas |
get / set the y position of a canvas
| Parameter | Type | Description |
|---|---|---|
| canvas | String | id of the canvas |
| y | Int | (Optional) y position of the canvas |
get / set the width of a canvas
| Parameter | Type | Description |
|---|---|---|
| canvas | String | id of the canvas |
| width | Int | (Optional) width of the canvas |
get / set the height of a canvas
| Parameter | Type | Description |
|---|---|---|
| canvas | String | id of the canvas |
| height | Int | (Optional) height of the canvas |
get / set the x position of a canvas camera
| Parameter | Type | Description |
|---|---|---|
| canvas | String | id of the canvas |
| x | Int | (Optional) x of the canvas |
get / set the y position of a canvas camera
| Parameter | Type | Description |
|---|---|---|
| canvas | String | id of the canvas |
| y | Int | (Optional) y of the canvas |
get / set the scale of a canvas camera
| Parameter | Type | Description |
|---|---|---|
| canvas | String | id of the canvas |
| y | Number | (Optional) scale of the canvas |
get / set the alpha of a canvas
| Parameter | Type | Description |
|---|---|---|
| canvas | String | id of the canvas |
| alpha | Number | (Optional) the value to set the alpha |
get / set the zIndex of a canvas
| Parameter | Type | Description |
|---|---|---|
| canvas | String | id of the canvas |
| zIndex | Int | (Optional) the value to set the z index |
get a specific canvas
| Parameter | Type | Description |
|---|---|---|
| canvas | String | id of the canvas |
destroy a specific canvas
| Parameter | Type | Description |
|---|---|---|
| canvas | String | id of the canvas |