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