Table of Contents

Method BlendColorsWFP

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

BlendColorsWFP(ColorBgra[], double[])

Blends the colors based on the given weight values.

public static ColorBgra BlendColorsWFP(ColorBgra[] c, double[] w)

Parameters

c ColorBgra[]

The array of color values.

w double[]

The array of weight values.

Returns

ColorBgra

Each color will be blended in proportionally to its weight value respective to the total summation of the weight values.

Remarks

"WAIP" stands for "weights, floating-point"