getGreen method

  1. @override
int getGreen(
  1. int pixel
)
override

Returns the green channel value of the pixel.

Implementation

@override
int getGreen(int pixel) => (pixel >> 8) & 0xFF;