Skip to content

Documentation / @interstellar-tools/maps / GridRectangleInterface

Interface: GridRectangleInterface ​

Defined in: terrain/crop-grid.ts:12

A rectangle on a grid, in grid coordinates: whole numbers at the cells' centres, rows down from the north.

Properties ​

bottom ​

ts
bottom: number;

Defined in: terrain/crop-grid.ts:16

The southern edge's row, at or after top.


left ​

ts
left: number;

Defined in: terrain/crop-grid.ts:18

The western edge's column.


ts
right: number;

Defined in: terrain/crop-grid.ts:20

The eastern edge's column, at or after left.


top ​

ts
top: number;

Defined in: terrain/crop-grid.ts:14

The northern edge's row.