Arithmetic
Static Class in Zigurous.ColorPro
Declaration
public static class Arithmetic
Description
Functions for adding, subtracting, multiplying, and dividing colors.
Extension Methods
Add | Adds the components of another color to the current color. Clamps the values in the range [0..1]. |
Adding | Returns the result of adding the components of another color to the current color. Clamps the values in the range [0..1]. |
Subtract | Subtracts the components of another color from the current color. Clamps the values in the range [0..1]. |
Subtracting | Returns the result of subtracting the components of another color from the current color. Clamps the values in the range [0..1]. |
Multiply | Multiplies the components of the color with another color. Clamps the values in the range [0..1]. |
MultipliedBy | Returns the result of multiplying the components of the color with another color. Clamps the values in the range [0..1]. |
Divide | Divides the components of the color with another color. Clamps the values in the range [0..1]. |
DividedBy | Returns the result of dividing the components of the color with another color. Clamps the values in the range [0..1]. |