getForeground method

int getForeground(
  1. int index
)

The packed foreground colour of cell index.

Implementation

int getForeground(int index) {
  return _data[index * _cellSize + _cellForeground];
}