class Geometry · Shapes

GridCell

A cell of a Grid: its row and column, counted from 0. Both are −1 for "no cell".

Properties

column

column: number

The column, counted from 0 at the left; −1 for no cell.

row

row: number

The row, counted from 0 at the top; −1 for no cell.