TextPushButton¶
Overview¶
TextPushButton is a convenience class for creating a rectangular push button with a text label.
@author John Blanco (PhET Interactive Simulations)
Class TextPushButton¶
Constructor¶
new TextPushButton( string : string | TReadOnlyProperty<string>, providedOptions? : TextPushButtonOptions )¶
Instance Methods¶
dispose()¶
Type TextPushButtonOptions¶
- font?: Font
- textFill?: TPaint
- maxTextWidth?: number | null
- textNodeOptions?: TextOptions
- & StrictOmit<RectangularPushButtonOptions, "content">
Source Code¶
See the source for TextPushButton.ts in the sun repository.