returns width and height as Vector2.
Vector2
Vector2 size() { return Vector2(width.toDouble(), height.toDouble()); }