Skip to content

PathSVGDrawable

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery/blob/main/js/display/drawables/PathSVGDrawable.js for the most up-to-date information.

Overview

SVG drawable for Path nodes.

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

Class PathSVGDrawable

import { PathSVGDrawable } 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

Implements the interface for SVGSelfDrawable (and is called from the SVGSelfDrawable's update).

Source Code

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