GridNode¶
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.