withAlpha method
This colour with its coverage replaced by alpha, for a caller fading
something in or out.
Implementation
LinearColor withAlpha(double alpha) => LinearColor(r, g, b, alpha);
This colour with its coverage replaced by alpha, for a caller fading
something in or out.
LinearColor withAlpha(double alpha) => LinearColor(r, g, b, alpha);