Search
Loading...
Skip to content

Type Alias: XYWH

type XYWH = [number, number, number, number];

Describes a rectangle on the screen.

The XYWH type is a tuple that contains four numbers representing the x and y coordinates of the top-left corner of the rectangle, as well as the width and height of the rectangle.