Creates a Path from a Path Configuration object.
The provided object should be a Phaser.Types.Curves.JSONPath, as returned by #toJSON. Providing a malformed object may cause errors.
name | type | description |
---|---|---|
data | Phaser.Types.Curves.JSONPath |
The JSON object containing the Path data. |
This Path object.