Creates a new Canvas DOM element, or pulls one from the pool if free.
name | type | arguments | Default | description |
---|---|---|---|---|
parent | * |
The parent of the Canvas object. |
||
width | number | <optional> | 1 |
The width of the Canvas. |
height | number | <optional> | 1 |
The height of the Canvas. |
The created canvas.