Table of Contents

Class ColorBlend

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll
public static class ColorBlend
Inheritance
ColorBlend
Inherited Members

Methods

Blend(EnumColorBlendMode, int, int)

public static int Blend(EnumColorBlendMode blendMode, int colorBase, int colorOver)

Parameters

blendMode EnumColorBlendMode
colorBase int
colorOver int

Returns

int

ColorBurn(int, int)

public static int ColorBurn(int rgb1, int rgb2)

Parameters

rgb1 int
rgb2 int

Returns

int

ColorDodge(int, int)

public static int ColorDodge(int rgb1, int rgb2)

Parameters

rgb1 int
rgb2 int

Returns

int

Darken(int, int)

public static int Darken(int rgb1, int rgb2)

Parameters

rgb1 int
rgb2 int

Returns

int

Lighten(int, int)

public static int Lighten(int rgb1, int rgb2)

Parameters

rgb1 int
rgb2 int

Returns

int

Multiply(int, int)

public static int Multiply(int rgb1, int rgb2)

Parameters

rgb1 int
rgb2 int

Returns

int

Normal(int, int)

public static int Normal(int rgb1, int rgb2)

Parameters

rgb1 int
rgb2 int

Returns

int

Overlay(int, int)

public static int Overlay(int rgb1, int rgb2)

Parameters

rgb1 int
rgb2 int

Returns

int

Screen(int, int)

public static int Screen(int rgb1, int rgb2)

Parameters

rgb1 int
rgb2 int

Returns

int