Text#updateShadow()

updateShadow(state)

Sets the Shadow on the Text.context based on the Style settings, or disables it if not enabled.
This is called automatically by Text.updateText.

Parameters
Name Type Description
state boolean

If true the shadow will be set to the Style values, otherwise it will be set to zero.

Source code: gameobjects/Text.js (Line 652)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.