Skip to content

overlapRect

overlapRect(rect1, rect2): boolean

Test whether two rects are overlap or not

Parameters

rect1: number[][]

rect2: number[][]

Returns

boolean

Source

graphics/geometry.ts:377