procedural graphics
A procedurally generated engine2d circle
A procedurally generated engine2d rectangle
A procedurally generated engine2d box
A procedurally generated engine2d line
A procedurally generated engine2d line
add graphics
delete a graphics entity
get a specific graphics entity
| Parameter | Type | Description |
|---|---|---|
| id | String | id of the graphics entity |
| container | String | id of the container the graphics entity is in |
tells the container whether to clear canvas on redraw
| Parameter | Type | Description |
|---|---|---|
| container | String | id of the container |
| clear | Boolean | whether to clear the container canvas on redraw |