@microsoft/fast-colors > computeAlphaBlend
computeAlphaBlend() function
Alpha channel of bottom is ignored The returned color always has an alpha channel of 1 Different programs (eg: paint.net, photoshop) will give different answers than this occasionally but within +/- 1/255 in each channel. Just depends on the details of how they round off decimals
Signature:export declare function computeAlphaBlend(bottom: ColorRGBA64, top: ColorRGBA64): ColorRGBA64;
Parameters
Parameter | Type | Description |
---|---|---|
bottom | ColorRGBA64 | |
top | ColorRGBA64 |