Skip to content

Function: rectCount() ​

ts
function rectCount(data): number;

Experimental

Number of rects described by the coordinate arrays (the shortest one).

Parameters ​

ParameterType
dataPick<RectData, "x0" | "y0" | "x1" | "y1">

Returns ​

number

Released under the MIT License.