Function: findElementAtPoint()
findElementAtPoint(
elements,point,sizeProvider):undefined|Element
Defined in: diagram/geometry.ts:464
Returns the first element from specified elements which bounding box
includes the specified point.
If the specified point is at the edge of a bounding box, it is considered
to be part of it.
Parameters
| Parameter | Type | Description |
|---|---|---|
| readonly | an array of diagram elements to search |
| point on a diagram in paper coordinates | |
| element size provider to compute bounding boxes |
Returns
undefined | Element