OffScaleIndicatorNode¶
Overview¶
An indicator that shows when something is off scale - usually in the context of a plot.
@author Jesse Greenberg (PhET Interactive Simulations)
Class OffScaleIndicatorNode¶
Constructor¶
new OffScaleIndicatorNode( direction : 'left' | 'right' | 'up' | 'down', providedOptions? : OffScaleIndicatorNodeOptions )¶
Instance Methods¶
dispose()¶
Type OffScaleIndicatorNodeOptions¶
- offScaleStringProperty?: TReadOnlyProperty<string>
The label string for the off scale indicator. - arrowTailLength?: number
The length of the arrow icon tail. - spacing?: number
Spacing between the label text and the icon arrow. - arrowNodeOptions?: ArrowNodeOptions
Options forwarded to the ArrowNode. - richTextOptions?: RichTextOptions
Options forwarded to the RichText label. - panelOptions?: PanelOptions
Options forwarded to the Panel. - & NodeOptions
Source Code¶
See the source for OffScaleIndicatorNode.ts in the scenery-phet repository.