Skip to content

LineSVGDrawable

Overview

SVG drawable for Line nodes.

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

Class LineSVGDrawable

/--------------------------------------------------------------------------- SVG Rendering ----------------------------------------------------------------------------*/

import { LineSVGDrawable } from 'scenerystack/scenery';

Instance Methods

initialize( renderer, instance )

@public @override

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

updateSVGSelf()

Updates the SVG elements so that they will appear like the current node's representation. @protected @override

Source Code

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