interface GridData {
    type: number;
    size: number;
    color: string;
    alpha: number;
    distance: number;
    units: string;
}

Properties

type: number

The type of grid, a number from CONST.GRID_TYPES.

size: number

The grid size which represents the width (or height) of a single grid space.

color: string

A string representing the color used to render the grid lines.

alpha: number

A number between 0 and 1 for the opacity of the grid lines.

distance: number

The number of distance units which are represented by a single grid space.

units: string

A label for the units of measure which are used for grid distance.