Phaser API Documentation

  Version: 
setShadowOffset([x], [y])

Description:

Set the shadow offset.

Parameters:

name type arguments description
x number <optional>

The horizontal shadow offset.

y number <optional>

The vertical shadow offset.

Returns:
Description:

The parent Text object.

Examples:
Since: 3.0.0