Table of Contents

Method Blend

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

Blend(ColorBgra, ColorBgra, byte)

Smoothly blends between two colors.

public static ColorBgra Blend(ColorBgra ca, ColorBgra cb, byte cbAlpha)

Parameters

ca ColorBgra
cb ColorBgra
cbAlpha byte

Returns

ColorBgra

Blend(ColorBgra[])

public static ColorBgra Blend(ColorBgra[] colors)

Parameters

colors ColorBgra[]

Returns

ColorBgra

Blend(ColorBgra[], int, int)

public static ColorBgra Blend(ColorBgra[] colors, int startIndex, int length)

Parameters

colors ColorBgra[]
startIndex int
length int

Returns

ColorBgra

Blend(ColorBgra*, int)

Smoothly blends the given colors together, assuming equal weighting for each one.

public static ColorBgra Blend(ColorBgra* colors, int count)

Parameters

colors ColorBgra*
count int

Returns

ColorBgra