Skip to content

CircleDOMDrawable

Overview

DOM drawable for Circle nodes.

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

Class CircleDOMDrawable

import { CircleDOMDrawable } from 'scenerystack/scenery';

Constructor

new CircleDOMDrawable( renderer, instance )

Instance Methods

initialize( renderer, instance )

@public @override

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

updateDOM()

Updates our DOM element so that its appearance matches our node's representation. @protected

This implements part of the DOMSelfDrawable required API for subtypes.

dispose()

Disposes the drawable. @public @override

Source Code

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