Method Blend
Blend(byte, ColorRgb, byte, ColorRgb, byte, out ColorRgb, out byte)
The foreground over the background at a coverage, composited premultiplied: the colour of a cell (Cell(int, out ColorRgb, out byte)) at that coverage.
public static void Blend(byte coverage, ColorRgb foreground, byte foregroundAlpha, ColorRgb background, byte backgroundAlpha, out ColorRgb color, out byte alpha)
Parameters
coveragebyteThe foreground's coverage, 0 to 255.
foregroundColorRgbThe foreground colour.
foregroundAlphabyteThe foreground's opacity.
backgroundColorRgbThe background colour.
backgroundAlphabyteThe background's opacity.
colorColorRgbThe blend's colour; the background where both are clear.
alphabyteThe blend's opacity, 0 to 255.