Skip to content

@simversus/yjvisDocs


@simversus/yjvis / Rect

Class: Rect

Constructors

new Rect()

new Rect(x, y, width, height): Rect

Parameters

x: number = 0

y: number = 0

width: number = 0

height: number = 0

Returns

Rect

Defined in

gfx/base/types.ts:1189

Properties

height

height: number = 0

Defined in

gfx/base/types.ts:1193


width

width: number = 0

Defined in

gfx/base/types.ts:1192


x

x: number = 0

Defined in

gfx/base/types.ts:1190


y

y: number = 0

Defined in

gfx/base/types.ts:1191