pixelR method

  1. @override
int pixelR(
  1. int x,
  2. int y
)
override

Returns the Red channel of pixel at (x,y).

Implementation

@override
int pixelR(int x, int y) => ((pixel(x, y) >> 16) & 0xff);