Skip to content

lineOverlapRect

lineOverlapRect(line, rect): boolean

Returns whether a rect overlap (or contains) a line

Parameters

line: number[][]

rect: number[][]

Returns

boolean

Source

graphics/geometry.ts:252