Package com.shixing.sxedit
Enum SXGenericEffect.ColorAdjustmentAttrs
- java.lang.Object
-
- java.lang.Enum<SXGenericEffect.ColorAdjustmentAttrs>
-
- com.shixing.sxedit.SXGenericEffect.ColorAdjustmentAttrs
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SXGenericEffect.ColorAdjustmentAttrs>
- Enclosing class:
- SXGenericEffect
public static enum SXGenericEffect.ColorAdjustmentAttrs extends java.lang.Enum<SXGenericEffect.ColorAdjustmentAttrs>
颜色调节特效属性
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Brightness
亮度 值类型: float, 值范围: [0, 1]Cct
色温 值类型: float, 值范围: [-1, 1]Contrast
对比度 值类型: float, 值范围: [-1, 1]Exposure
曝光度 值类型: float, 值范围: [-1, 1]Highlight
高光 值类型: float, 值范围: [0, 1]Hue
色相 值类型: float, 值范围: [0, 1]Saturation
饱和度 值类型: float, 值范围: [-1, 1]Shadow
阴影 值类型: float, 值范围: [0, 1]Sharpen
锐化 值类型: float, 值范围: [-1, 1]
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SXGenericEffect.ColorAdjustmentAttrs
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SXGenericEffect.ColorAdjustmentAttrs[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Brightness
public static final SXGenericEffect.ColorAdjustmentAttrs Brightness
亮度 值类型: float, 值范围: [0, 1]
-
Contrast
public static final SXGenericEffect.ColorAdjustmentAttrs Contrast
对比度 值类型: float, 值范围: [-1, 1]
-
Saturation
public static final SXGenericEffect.ColorAdjustmentAttrs Saturation
饱和度 值类型: float, 值范围: [-1, 1]
-
Sharpen
public static final SXGenericEffect.ColorAdjustmentAttrs Sharpen
锐化 值类型: float, 值范围: [-1, 1]
-
Highlight
public static final SXGenericEffect.ColorAdjustmentAttrs Highlight
高光 值类型: float, 值范围: [0, 1]
-
Shadow
public static final SXGenericEffect.ColorAdjustmentAttrs Shadow
阴影 值类型: float, 值范围: [0, 1]
-
Exposure
public static final SXGenericEffect.ColorAdjustmentAttrs Exposure
曝光度 值类型: float, 值范围: [-1, 1]
-
Hue
public static final SXGenericEffect.ColorAdjustmentAttrs Hue
色相 值类型: float, 值范围: [0, 1]
-
Cct
public static final SXGenericEffect.ColorAdjustmentAttrs Cct
色温 值类型: float, 值范围: [-1, 1]
-
-
Method Detail
-
values
public static SXGenericEffect.ColorAdjustmentAttrs[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SXGenericEffect.ColorAdjustmentAttrs c : SXGenericEffect.ColorAdjustmentAttrs.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SXGenericEffect.ColorAdjustmentAttrs valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-