toVector2 method

Vector2 toVector2()

Creates a Vector2 starting in top left and going to (width, height).

Implementation

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