withAlpha method Null safety
- double alpha
Returns a copy of this color with the alpha
parameter replaced with the
given value.
Implementation
HSVColor withAlpha(double alpha) {
return HSVColor.fromAHSV(alpha, hue, saturation, value);
}
Returns a copy of this color with the alpha
parameter replaced with the
given value.
HSVColor withAlpha(double alpha) {
return HSVColor.fromAHSV(alpha, hue, saturation, value);
}