Constructor
new Size(width, height)
Creates a new Size
Parameters:
Name | Type | Description |
---|---|---|
width | number | The width |
height | number | The height |
Example
// Create a new size of (10, 10)
const size = new Size(10, 10);
Members
height :number
The height
Type:
- number
width :number
The width
Type:
- number