Skip to content

MinusNode

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

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.