Click or drag to resize

ColorTransformOperation Enumeration

Defines color transform operation.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.7.0.0 (21.7)
Syntax
public enum ColorTransformOperation
Members
  Member nameValueDescription
Tint0 Tints the color. Parameter is in range between 0 (original color) and 1 (white).
Shade1 Shades the color. Parameter is in range between 0 (original color) and 1 (black).
Complement2 Changes the color to a RGB complementary one. m = Max(r, g, b); r = m - r; g = m - g; b = m - b;
Inverse3 Changes the color to an inverted color. r = 1 - r; g = 1 - g; b = 1 - b;
Grayscale4 Changes the color to a gray one with same lightness. Parameter ignored.
SetAlpha5 Defines an alpha component of the color. Parameter is in range between 0 (transparent) and 1 (opaque).
AddAlpha6 Adds a parameter's value to an alpha component of the color. Parameter is in range between -1 and 1.
MultiplyAlpha7 Multiplies an alpha component to a parameter's value.
SetHue8 Changes a hue component of the color to a parameter's value. Parameter is in range between 0 and 360.
AddHue9 Adds parameter's value to hue component of the color. Parameter is in range between -360 and 360.
MultiplyHue10 Multiplies a hue component to a parameter's value.
SetSaturation11 Changes a saturation component of the color to a parameter's value. Parameter is in range between 0 and 1.
AddSaturation12 Adds a parameter's value to a saturation component of the color. Parameter is in range between -1 and 1.
MultiplySaturation13 Multiplies a saturation component to a parameter's value.
SetLuminance14 Changes a luminance component of the color to a parameter's value. Parameter is in range between 0 and 1.
AddLuminance15 Adds a parameter's value to a luminance component of the color. Parameter is in range between -1 and 1.
MultiplyLuminance16 Multiplies a luminance component to a parameter's value.
SetRed17 Changes a red component of the color to a parameter's value. Parameter is in range between 0 and 1.
AddRed18 Adds a parameter's value to a red component of the color. Parameter is in range between -1 and 1.
MultiplyRed19 Multiplies a red component to a parameter.
SetGreen20 Changes a green component of the color to a parameter's value value. Parameter is in range between 0 and 1.
AddGreen21 Adds a parameter to a green component of the color. Parameter is in range between -1 and 1.
MultiplyGreen22 Multiplies a green component of the color to a parameter's value.
SetBlue23 Changes a blue component of the color to a parameter's value. Parameter is in range between 0 and 360.
AddBlue24 Adds a parameter's value to a blue component of the color. Parameter is in range between -1 and 1.
MultiplyBlue25 Multiplies a blue component of the color to a parameter's value.
Gamma26 Gamma correction. Parameter ignored.
InverseGamma27 Inverse gamma correction. Parameter ignored.
See Also