getBlue method

num getBlue(
  1. int x,
  2. int y
)

Get the value of the blue channel at the given pixel coordinates x, y.

Implementation

num getBlue(int x, int y) => blue != null
    ? blue!.isFloat
        ? blue!.getFloat(x, y)
        : blue!.getInt(x, y)
    : 0;