getAlpha method

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

Returns the alpha channel value of the pixel.

Implementation

@override
double getAlpha(Float32x4 pixel) => pixel.w;