HashGridItem

Interface for all items that can be used with a HashGrid.

Interface cannot be instantiated

Methods

(abstract) getHashDimensions() → {Array.<Number>}

Computes the dimensions of the item for the HashGrid.

Returns:

rectangular dimensions in [width, height]

Type: 
Array.<Number>

(abstract) getHashPos() → {Array.<Number>}

Computes the coordinate position for the item within the HashGrid, expects center position.

Returns:
Type: 
Array.<Number>