CIEXYZ.Mix
Method in CIEXYZ
Implements IComponentModel.Mix
Declaration
public Color Mix(Color other, float weight = 0.5F)
Description
Returns the result of mixing the color with another color using a weight between [0..1]. A weight of 0 results in the first color, and a weight of 1 results in the second color.
Parameters
other | The other color to mix. |
weight | The weight to mix with between [0..1] (default=0.5). |
Returns
Color | The result of mixing the two colors. |
Overload
Declaration
public CIEXYZ Mix(CIEXYZ other, float weight = 0.5F)
Description
Returns the result of mixing the color with another color using a weight between [0..1]. A weight of 0 results in the first color, and a weight of 1 results in the second color.
Parameters
other | The other color to mix. |
weight | The weight to mix with between [0..1] (default=0.5). |
Returns
CIEXYZ | The result of mixing the two colors. |