OptionalalphaOptionalcolorA string representing the color used to render the grid lines.
OptionaldistanceThe number of distance units which are represented by a single grid space.
OptionalsizeThe grid size which represents the width (or height) of a single grid space.
OptionalstyleThe line style of the grid.
OptionalthicknessThe thickness of the grid lines.
OptionaltypeThe type of grid, a number from CONST.GRID_TYPES.
OptionalunitsA label for the units of measure which are used for grid distance.
A number between 0 and 1 for the opacity of the grid lines.