ShadowText¶
Overview¶
Text with a drop shadow.
@author Chris Malley (PixelZoom, Inc.)
Class ShadowText¶
Constructor¶
new ShadowText( text : string, providedOptions? : ShadowTextOptions )¶
Instance Methods¶
Type ShadowTextOptions¶
- font?: Font
- fill?: TPaint
for foreground Text node - stroke?: TPaint
- shadowFill?: TPaint
for background (shadow) Text node - shadowXOffset?: number
- shadowYOffset?: number
- & StrictOmit<NodeOptions, "children">
Source Code¶
See the source for ShadowText.ts in the scenery-phet repository.