Skip to content

center

center(rect): number[]

Get a center point of rect

Parameters

rect: number[][]

Returns

number[]

Source

graphics/geometry.ts:438