at method

int at(
  1. int x,
  2. int y
)

Implementation

int at(int x, int y) => data[y * stride + x];