Function: selectionContains()
ts
function selectionContains(query, x, y): boolean;Experimental
Whether a point (linear coordinates) is inside a selection: the box for rect queries, the polygon for lasso ones. Trace modules use this in selectPoints.
Parameters
| Parameter | Type |
|---|---|
query | SelectionQuery |
x | number |
y | number |
Returns
boolean