getRed method

  1. @override
double getRed(
  1. Float32x4 pixel
)
override

Returns the red channel value of the pixel.

Implementation

@override
double getRed(Float32x4 pixel) => pixel.x;