options
Object
overrides of default options
Set inner document content. Note that this is a noop for CanvasSurface.
Place the document element this component manages into the document. This will draw the content to the document.
Remove this component and contained content from the document
Returns the canvas element's context
Set the size of the surface and canvas element.