getBoundingRect method

Rect getBoundingRect()

Returns the bounding Rect of the image.

Implementation

Rect getBoundingRect() => Vector2.zero() & size;