Skip to content

PlusNode

Overview

Plus sign, created using phet.scenery.Path because scenery.Text("+") cannot be accurately centered. Origin at upper left.

@author Chris Malley (PixelZoom, Inc.)

Class PlusNode

import { PlusNode } from 'scenerystack/scenery-phet';

Constructor

new PlusNode( providedOptions? : PlusNodeOptions )

Instance Methods

Type PlusNodeOptions

import type { PlusNodeOptions } from 'scenerystack/scenery-phet';

Source Code

See the source for PlusNode.ts in the scenery-phet repository.