Backwards-compatible cell snap. Prefer containedThenNearest for new strategies; this variant remains for tileGrid and any caller that puts its cell rect in meta.cellRect rather than hitBounds.
containedThenNearest
tileGrid
meta.cellRect
hitBounds
Backwards-compatible cell snap. Prefer
containedThenNearestfor new strategies; this variant remains fortileGridand any caller that puts its cell rect inmeta.cellRectrather thanhitBounds.