Home
News
Learn
Download
Examples
Community
Plugins
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.GameObjects.TextStyle
setShadowColor([color])
Description:
Set the shadow color.
Parameters:
name
type
arguments
Default
description
color
string
<optional>
'#000'
The shadow color.
Returns:
Description:
The parent Text object.
Type:
Phaser.GameObjects.Text
Since:
3.0.0
Source:
src/gameobjects/text/TextStyle.js
(Line
881
)
Possible examples