Skip to content

Type Alias: Viewbox ​

Viewbox = object

Geometry of a rectangular portion of the game that is projected on the screen.

Properties ​

height ​

height: number


mode? ​

optional mode?: FitMode


width ​

width: number


x? ​

optional x?: number


y? ​

optional y?: number