Skip to content

@simversus/yjvisDocs


@simversus/yjvis / Viewport

Class: Viewport

Constructors

new Viewport()

new Viewport(left, top, width, height, minDepth, maxDepth): Viewport

Parameters

left: number = 0

top: number = 0

width: number = 0

height: number = 0

minDepth: number = 0

maxDepth: number = 1

Returns

Viewport

Defined in

gfx/base/types.ts:1231

Properties

height

height: number = 0

Defined in

gfx/base/types.ts:1235


left

left: number = 0

Defined in

gfx/base/types.ts:1232


maxDepth

maxDepth: number = 1

Defined in

gfx/base/types.ts:1237


minDepth

minDepth: number = 0

Defined in

gfx/base/types.ts:1236


top

top: number = 0

Defined in

gfx/base/types.ts:1233


width

width: number = 0

Defined in

gfx/base/types.ts:1234