Create a new Size
instance.
The width.
The height.
Get the height.
The height.
Get the width.
The width.
Static
fromCreates a new Size instance from an object with width and height properties.
The object containing width and height properties.
A new Size instance.
A Size, essentially a 2D Vector.