getRect method

Rect getRect()

Implementation

Rect getRect() {
  return Rect.fromLTWH(position.dx, position.dy, size.width, size.height);
}