toVector2 method

Vector2 toVector2()

This size as a Vector2.

Implementation

Vector2 toVector2() => Vector2(width, height);