Skip to content

NodePattern

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/util/NodePattern.ts for the most up-to-date information.

Overview

Creates a pattern based on a Node.

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

Class NodePattern

import { NodePattern } from 'scenerystack/scenery';

Constructor

new NodePattern( node : Node, resolution : number, x : number, y : number, width : number, height : number, matrix )

Instance Methods

Source Code

See the source for NodePattern.ts in the scenery repository.