GridNode¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery-phet/blob/main/js/GridNode.ts for the most up-to-date information.
Overview¶
When enabled, shows a grid across the play area that helps the user to make quantitative comparisons between distances.
@author Sam Reid (PhET Interactive Simulations) @author Aaron Davis (PhET Interactive Simulations) @author AgustÃn Vallejo
Class GridNode¶
Constructor¶
new GridNode( transformProperty : TReadOnlyProperty<ModelViewTransform2>, spacing : number, center : Vector2, numberOfGridLines : number, providedOptions? : GridNodeOptions )¶
Instance Methods¶
Type GridNodeOptions¶
Source Code¶
See the source for GridNode.ts in the scenery-phet repository.