Constructors
constructor
- new Dimension(width: number, height: number): Dimension
-
Parameters
-
width: number
-
height: number
Properties
Private height
height: number
Private width
width: number
Methods
equals
- equals(other: any): boolean
-
Parameters
Returns boolean
Simply encapsulates a width and height.