Skip to content

MinusNode

Overview

Minus sign, created using phet.scenery.Rectangle because scenery.Text("-") looks awful on Windows and cannot be accurately centered. The origin is at the upper left.

@author Chris Malley (PixelZoom, Inc.)

Class MinusNode

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

Constructor

new MinusNode( providedOptions : MinusNodeOptions )

Instance Methods

Type MinusNodeOptions

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

Source Code

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