getRed method

  1. @override
  2. @nonVirtual
int getRed(
  1. int pixel
)
inherited

Returns the red channel value of the pixel.

Implementation

@override
@nonVirtual
int getRed(int pixel) => (pixel >> _offsetRed) & 0xFF;