Initialize CanvasRenderer object.
Width of the canvas in pixels.
Height of the canvas in pixels.
The HTMLElement to add the canvas to.
Canvas element for rendering.
Containing element for the canvas.
Height of the canvas in pixels.
Width of the canvas in pixels.
Determines if the provided entity is visible to the camera.
Sprite to check for visibility.
Camera to use when determining visibility.
Recursive method for rendering the provided container and all its children.
Container object to render recursively.
Whether or not to clear the canvas before rendering.
Recursive rendering utilizing HTML5 canvas.