Skip to content

inRect

inRect(point, rect): boolean

Test whether a point is inside a rect

Parameters

point: number[]

rect: number[][]

Returns

boolean

Source

graphics/geometry.ts:83