Phaser API Documentation

  Version: 
toJSON()

Description:

Converts this curve into a JSON-serializable object.

Returns:
Description:

A primitive object with the curve's type and only point.

Since: 3.0.0