ImageSVGDrawable¶
Overview¶
SVG drawable for Image nodes.
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class ImageSVGDrawable¶
Instance Methods¶
initialize( renderer, instance )¶
@param {number} renderer @param {Instance} instance
updateSVGSelf()¶
Updates the SVG elements so that they will appear like the current node's representation. @protected
Implements the interface for SVGSelfDrawable (and is called from the SVGSelfDrawable's update).
updateURL( image, forced )¶
@param {SVGImageElement} image @param {boolean} forced
updateMipmapStatus( usingMipmap )¶
@param {boolean} usingMipmap
onMipmap()¶
onMipmapTransform()¶
dispose()¶
Disposes the drawable. @public @override
Source Code¶
See the source for ImageSVGDrawable.js in the scenery repository.