Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Curves.Line
toJSON()
Description:
Gets a JSON representation of the line.
Returns:
Description:
The JSON object containing this curve data.
Type:
Phaser.Types.Curves.JSONCurve
Since:
3.0.0
Source:
src/curves/LineCurve.js
(Line
259
)
Possible examples