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/grid/Grid.js
+8-8
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,8 @@ var GridRender = require('./GridRender');
19
19
* grid as well as the width and height of the grid cells. You can set a fill color for each grid
20
20
* cell as well as an alternate fill color. When the alternate fill color is set then the grid
21
21
* cells will alternate the fill colors as they render, creating a chess-board effect. You can
22
-
* also optionally have an outline fill color. If set, this draws lines between the grid cells
23
-
* in the given color. If you specify an outline color with an alpha of zero, then it will draw
22
+
* also optionally have a stroke fill color. If set, this draws lines between the grid cells
23
+
* in the given color. If you specify a stroke color with an alpha of zero, then it will draw
24
24
* the cells spaced out, but without the lines between them.
25
25
*
26
26
* @class Grid
@@ -38,8 +38,8 @@ var GridRender = require('./GridRender');
38
38
* @param {number} [cellHeight=32] - The height of one cell in the grid.
39
39
* @param {number} [fillColor] - The color the grid cells will be filled with, i.e. 0xff0000 for red.
40
40
* @param {number} [fillAlpha] - The alpha the grid cells will be filled with. You can also set the alpha of the overall Shape using its `alpha` property.
41
-
* @param {number} [outlineFillColor] - The color of the lines between the grid cells. See the `setOutline` method.
42
-
* @param {number} [outlineFillAlpha] - The alpha of the lines between the grid cells.
41
+
* @param {number} [strokeFillColor] - The color of the lines between the grid cells. See the `setStrokeStyle` method.
42
+
* @param {number} [strokeFillAlpha] - The alpha of the lines between the grid cells.
0 commit comments