toVector2 method

Vector2 toVector2()

Creates a Vector2 from the Size

Implementation

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