Class ViewSize

A simple container to store the width and height of a view

Source : file printRoute/ViewSize.js at line 31

Constructor

new ViewSize ( width, height )

The constructor

Source : file printRoute/ViewSize.js at line 53

Parameters

Name Type Description
width Number

The width of the view

height Number

The height of the view

Public getters and setters

readonly get height : Number

The height of the view

Source : file printRoute/ViewSize.js at line 71

readonly get width : Number

The width of the view

Source : file printRoute/ViewSize.js at line 64

Private properties

#height : Number

The height of the view

Source : file printRoute/ViewSize.js at line 45

#width : Number

The width of the view

Source : file printRoute/ViewSize.js at line 38