Constructors
constructor
- new Viewport(x: number, y: number, width: number, height: number): Viewport
-
Parameters
-
x: number
-
y: number
-
width: number
-
height: number
Properties
height
height: number
width
width: number
x
x: number
y
y: number
Methods
clone
-
a new Viewport
Class used to represent a viewport on screen