size property

Vector2 size

Returns a Vector2 representing the dimensions of this image.

Implementation

Vector2 get size => Vector2Extension.fromInts(width, height);