Line#clone()

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)
doc_phaser
2017-02-14 10:53:56
Comments
Leave a Comment

Please login to continue.