Phaser API Documentation

  Version: 

Member of: Phaser.Curves.Path

toJSON()

Description:

Converts this Path to a JSON object containing the path information and its constituent curves.

Returns:
Description:

The JSON object containing this path's data.

Since: 3.0.0
Source: src/curves/path/Path.js (Line 805)