Constructors
constructor
- new Size(width: number, height: number, widthUnit?: string, heightUnit?: string): Size
Parameters
width: number
height: number
Optional widthUnit: string
Optional heightUnit: string
Methods
equals
- equals(other: null | Size): boolean
Parameters
Returns boolean
The height along the y-axis, in pixels.