Phaser API Documentation

  Version: 
toX: number

Description:

The horizontal position the gradient will end. This value is noralized, between 0 and 1 and is not in pixels.

Type:
number