Current dimensions.
Disconnect the resizer from its canvas, further size changes will not be observed.
Call CanvasResizer.observe to re-connect.
Observe the resizer's canvas for size changes. Default state of the resizer after initialization.
Update canvas' width and height properties if its size changed.
true if resized
Applies a HTMLCanvasElement | canvas element's actual size to its
widthandheightproperties to ensure correct render dimensions.