Get the value of the alpha channel at the given pixel coordinates x, y.
x
y
num getAlpha(int x, int y) => alpha != null ? alpha!.isFloat ? alpha!.getFloat(x, y) : alpha!.getInt(x, y) : 0;