CanvasSelfDrawable¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery/blob/main/js/display/CanvasSelfDrawable.js for the most up-to-date information.
Overview¶
TODO docs https://github.com/phetsims/scenery/issues/1581 note paintCanvas() required, and other implementation-specific details
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class CanvasSelfDrawable¶
Instance Methods¶
initialize( renderer, instance )¶
@param {number} renderer @param {Instance} instance
markTransformDirty()¶
markPaintDirty()¶
General flag set on the state, which we forward directly to the drawable's paint flag @public
updateSelfVisibility()¶
dispose()¶
Releases references @public @override
Source Code¶
See the source for CanvasSelfDrawable.js in the scenery repository.