Sets the fill color and alpha level that the lines between each grid cell will use.
If this method is called with no values then the grid lines will not be rendered at all, however the cells themselves may still be if they have colors set.
Also see the setFillStyle
and setAltFillStyle
methods.
This call can be chained.
name | type | arguments | Default | description |
---|---|---|---|---|
fillColor | number | <optional> |
The color the lines between the grid cells will be filled with, i.e. 0xff0000 for red. |
|
fillAlpha | number | <optional> | 1 |
The alpha the lines between the grid cells will be filled with. You can also set the alpha of the overall Shape using its |
This Game Object instance.