SelectionAdorner.getClosestDesignObject Method

Retrieves the closest design object relative to toCheckRectangle.
 

Parameters

toCheckRectangle

Type: Rectangle
The bounded area to check, in BACKGROUND coordinate system.

Return Value


Type: DesignObjectViewModel
The closest design object.