CanvasSelfDrawable¶
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.