Phaser API Documentation

  Version: 

Member of: Phaser.Curves.Line

toJSON()

Description:

Gets a JSON representation of the line.

Returns:
Description:

The JSON object containing this curve data.

Examples:
Since: 3.0.0
Source: src/curves/LineCurve.js (Line 259)