Function: computePickWindow()
ts
function computePickWindow(out, x, y, radius, canvas, renderArea, scissor): boolean;Experimental
Fill out for a pick at CSS (x, y) with radius CSS px, in a view that renders into renderArea (CSS, top-left origin) clipped to scissor (or unclipped when null).
Returns false (leaving out partially written) when the cursor's pixel is not visible in the view, or the view is empty: there is nothing to pick.
Parameters
| Parameter | Type |
|---|---|
out | PickWindow |
x | number |
y | number |
radius | number |
canvas | Readonly<PickCanvas> |
renderArea | Readonly<ViewportRect> |
scissor | Readonly<ViewportRect> | null |
Returns
boolean