Skip to content

Box beta ​

Interface of @v12-engine/client

ts
export interface Box

A rectangle of the screen, in CSS pixels

Members ​

height ​

ts
height: number;

Height in CSS pixels

width ​

ts
width: number;

Width in CSS pixels

x ​

ts
x: number;

Left edge, in CSS pixels

y ​

ts
y: number;

Top edge, in CSS pixels