GridTemplateAdorner.getClosestTemplateCell Method

Retrieves the closest templateCell relative to toCheckRectangle.
 

Parameters

toCheckRectangle

Type: Rectangle
The bounded area to check.
alreadyIncell

Type: TemplateCellViewModel
Cell to ignore the check, even if this cell is closest it will not be returned

Return Value


Type: TemplateCellViewModel
The closest cell.