Skip to content

unionRect

unionRect(rect1, rect2): number[][]

Returns an union of two rects

Parameters

rect1: number[][]

rect2: number[][]

Returns

number[][]

Source

graphics/geometry.ts:329