ColorTransformOperation

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class ColorTransformOperation extends System.Enum

Defines color transform operation.

Fields

FieldDescription
TintTints the color.
ShadeShades the color.
ComplementChanges the color to a RGB complementary one.
InverseChanges the color to an inverted color.
GrayscaleChanges the color to a gray one with same lightness.
SetAlphaDefines an alpha component of the color.
AddAlphaAdds a parameter’s value to an alpha component of the color.
MultiplyAlphaMultiplies an alpha component to a parameter’s value.
SetHueChanges a hue component of the color to a parameter’s value.
AddHueAdds parameter’s value to hue component of the color.
MultiplyHueMultiplies a hue component to a parameter’s value.
SetSaturationChanges a saturation component of the color to a parameter’s value.
AddSaturationAdds a parameter’s value to a saturation component of the color.
MultiplySaturationMultiplies a saturation component to a parameter’s value.
SetLuminanceChanges a luminance component of the color to a parameter’s value.
AddLuminanceAdds a parameter’s value to a luminance component of the color.
MultiplyLuminanceMultiplies a luminance component to a parameter’s value.
SetRedChanges a red component of the color to a parameter’s value.
AddRedAdds a parameter’s value to a red component of the color.
MultiplyRedMultiplies a red component to a parameter.
SetGreenChanges a green component of the color to a parameter’s value value.
AddGreenAdds a parameter to a green component of the color.
MultiplyGreenMultiplies a green component of the color to a parameter’s value.
SetBlueChanges a blue component of the color to a parameter’s value.
AddBlueAdds a parameter’s value to a blue component of the color.
MultiplyBlueMultiplies a blue component of the color to a parameter’s value.
GammaGamma correction.
InverseGammaInverse gamma correction.

Tint

public static final int Tint

Tints the color. Parameter is in range between 0 (original color) and 1 (white).

Shade

public static final int Shade

Shades the color. Parameter is in range between 0 (original color) and 1 (black).

Complement

public static final int Complement

Changes the color to a RGB complementary one. m = Max(r, g, b); r = m - r; g = m - g; b = m - b;

Inverse

public static final int Inverse

Changes the color to an inverted color. r = 1 - r; g = 1 - g; b = 1 - b;

Grayscale

public static final int Grayscale

Changes the color to a gray one with same lightness. Parameter ignored.

SetAlpha

public static final int SetAlpha

Defines an alpha component of the color. Parameter is in range between 0 (transparent) and 1 (opaque).

AddAlpha

public static final int AddAlpha

Adds a parameter’s value to an alpha component of the color. Parameter is in range between -1 and 1.

MultiplyAlpha

public static final int MultiplyAlpha

Multiplies an alpha component to a parameter’s value.

SetHue

public static final int SetHue

Changes a hue component of the color to a parameter’s value. Parameter is in range between 0 and 360.

AddHue

public static final int AddHue

Adds parameter’s value to hue component of the color. Parameter is in range between -360 and 360.

MultiplyHue

public static final int MultiplyHue

Multiplies a hue component to a parameter’s value.

SetSaturation

public static final int SetSaturation

Changes a saturation component of the color to a parameter’s value. Parameter is in range between 0 and 1.

AddSaturation

public static final int AddSaturation

Adds a parameter’s value to a saturation component of the color. Parameter is in range between -1 and 1.

MultiplySaturation

public static final int MultiplySaturation

Multiplies a saturation component to a parameter’s value.

SetLuminance

public static final int SetLuminance

Changes a luminance component of the color to a parameter’s value. Parameter is in range between 0 and 1.

AddLuminance

public static final int AddLuminance

Adds a parameter’s value to a luminance component of the color. Parameter is in range between -1 and 1.

MultiplyLuminance

public static final int MultiplyLuminance

Multiplies a luminance component to a parameter’s value.

SetRed

public static final int SetRed

Changes a red component of the color to a parameter’s value. Parameter is in range between 0 and 1.

AddRed

public static final int AddRed

Adds a parameter’s value to a red component of the color. Parameter is in range between -1 and 1.

MultiplyRed

public static final int MultiplyRed

Multiplies a red component to a parameter.

SetGreen

public static final int SetGreen

Changes a green component of the color to a parameter’s value value. Parameter is in range between 0 and 1.

AddGreen

public static final int AddGreen

Adds a parameter to a green component of the color. Parameter is in range between -1 and 1.

MultiplyGreen

public static final int MultiplyGreen

Multiplies a green component of the color to a parameter’s value.

SetBlue

public static final int SetBlue

Changes a blue component of the color to a parameter’s value. Parameter is in range between 0 and 360.

AddBlue

public static final int AddBlue

Adds a parameter’s value to a blue component of the color. Parameter is in range between -1 and 1.

MultiplyBlue

public static final int MultiplyBlue

Multiplies a blue component of the color to a parameter’s value.

Gamma

public static final int Gamma

Gamma correction. Parameter ignored.

InverseGamma

public static final int InverseGamma

Inverse gamma correction. Parameter ignored.