clone(output) → {Phaser.Line}
Returns a new Line object with the same values for the start and end properties as this Line object.
Parameters
Name | Type | Description |
---|---|---|
output | Phaser.Line | Optional Line object. If given the values will be set into the object, otherwise a brand new Line object will be created and returned. |
Returns
The cloned Line object.
- Source code: geom/Line.js (Line 336)
Please login to continue.