Arithmetic

Static Class in Zigurous.ColorPro


Declaration

public static class Arithmetic

Description

Functions for adding, subtracting, multiplying, and dividing colors.

Extension Methods

AddAdds the components of another color to the current color. Clamps the values in the range [0..1].
AddingReturns the result of adding the components of another color to the current color. Clamps the values in the range [0..1].
SubtractSubtracts the components of another color from the current color. Clamps the values in the range [0..1].
SubtractingReturns the result of subtracting the components of another color from the current color. Clamps the values in the range [0..1].
MultiplyMultiplies the components of the color with another color. Clamps the values in the range [0..1].
MultipliedByReturns the result of multiplying the components of the color with another color. Clamps the values in the range [0..1].
DivideDivides the components of the color with another color. Clamps the values in the range [0..1].
DividedByReturns the result of dividing the components of the color with another color. Clamps the values in the range [0..1].