Skip to main content

Interface: Viewport

Rendering.Viewport

Represents an object defining the dimensions and position of a viewport.

Properties

bottom

bottom: number

Bottom coordinate of the viewport.

Defined in

src/rendering/RenderView.ts:11


height

height: number

Height of the viewport.

Defined in

src/rendering/RenderView.ts:15


left

left: number

Left coordinate of the viewport.

Defined in

src/rendering/RenderView.ts:9


width

width: number

Width of the viewport.

Defined in

src/rendering/RenderView.ts:13