Skip to content

SelfDrawable

Overview

A drawable that will paint a single instance.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class SelfDrawable

import { SelfDrawable } from 'scenerystack/scenery';

Constructor

new SelfDrawable( renderer, instance )

Instance Methods

initialize( renderer, instance )

@public

@param {number} renderer @param {Instance} instance @returns {SelfDrawable}

dispose()

Releases references @public @override

updateSelfVisibility()

@public

toDetailedString()

Returns a more-informative string form of this object. @public @override

@returns {string}

Source Code

See the source for SelfDrawable.js in the scenery repository.