bounds method

Rectangle bounds()

Returns bounds corresponding to the cell size.

Implementation

Rectangle bounds() => Rectangle(minX: 0, minY: 0, maxX: width, maxY: height);