getBackground method

Color getBackground(
  1. int x,
  2. int y
)

Packed RGBA background at cell (x, y).

Implementation

Color getBackground(int x, int y) {
  final index = _getIndex(x, y);
  return _readRgba(_backgrounds, index);
}