setBlue method
Set the value of the blue channel at the given pixel coordinates x
, y
.
Implementation
void setBlue(int x, int y, num c) {
if (green != null) {
if (blue!.isFloat) {
blue!.setFloat(x, y, c);
} else {
blue!.setInt(x, y, c as int);
}
}
}