Looks up a canvas based on its parent, and if found puts it back in the pool, freeing it up for re-use. The canvas has its width and height set to 1, and its parent attribute nulled.
name | type | description |
---|---|---|
parent | * |
The canvas or the parent of the canvas to free. |