Method BlendColors4W16IP
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Core.dll
BlendColors4W16IP(ColorBgra, uint, ColorBgra, uint, ColorBgra, uint, ColorBgra, uint)
Blends four colors together based on the given weight values.
public static ColorBgra BlendColors4W16IP(ColorBgra c1, uint w1, ColorBgra c2, uint w2, ColorBgra c3, uint w3, ColorBgra c4, uint w4)
Parameters
Returns
- ColorBgra
The blended color.
Remarks
The weights should be 16-bit fixed point numbers that add up to 65536 ("1.0"). 4W16IP means "4 colors, weights, 16-bit integer precision"