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