ReferenceGrid.findNextEmptySpot Method

Find the next empty spot that is able to fit an area of the provided width and height.
 

Parameters

width
height

Return Value


Type: Object
The position inserted, null if no spot is available.