getPixel method

int getPixel(
  1. num x,
  2. num y
)

Get a single RGB pixel

Implementation

int getPixel(num x, num y) {
  final updateBatch = BitmapDataUpdateBatch(this);
  return updateBatch.getPixel32(x, y) & 0x00FFFFFF;
}