We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77859b1 commit a786298Copy full SHA for a786298
1 file changed
src/gameobjects/shape/line/Line.js
@@ -24,6 +24,9 @@ var LineRender = require('./LineRender');
24
*
25
* If you need to draw multiple lines in a sequence you may wish to use the Polygon Shape instead.
26
27
+ * Be aware that as with all Game Objects the default origin is 0.5. If you need to draw a Line
28
+ * between two points and want the x1/y1 values to match the x/y values, then set the origin to 0.
29
+ *
30
* @class Line
31
* @extends Phaser.GameObjects.Shape
32
* @memberof Phaser.GameObjects
0 commit comments