Skip to content

ShadowText

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

Overview

Text with a drop shadow.

@author Chris Malley (PixelZoom, Inc.)

Class ShadowText

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

Constructor

new ShadowText( text : string, providedOptions? : ShadowTextOptions )

Instance Methods

Type ShadowTextOptions

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

Source Code

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