You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/gameobjects/shape/line/LineFactory.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,12 @@ var Line = require('./Line');
21
21
* @param {number} [y1=0] - The horizontal position of the first point in the triangle.
22
22
* @param {number} [x2=128] - The horizontal position of the second point in the triangle.
23
23
* @param {number} [y2=0] - The horizontal position of the second point in the triangle.
24
-
* @param {number} [fillColor] - The color the triangle will be filled with, i.e. 0xff0000 for red.
25
-
* @param {number} [fillAlpha] - The alpha the triangle will be filled with. You can also set the alpha of the overall Shape using its `alpha` property.
24
+
* @param {number} [strokeColor] - The color the triangle will be stroked with, i.e. 0xff0000 for red.
25
+
* @param {number} [strokeAlpha] - The alpha the triangle will be stroked with. You can also set the alpha of the overall Shape using its `alpha` property.
26
26
*
27
27
* @return {Phaser.GameObjects.Line} The Game Object that was created.
0 commit comments