Package com.shixing.sxedit.types
Enum SXBlendMode
- java.lang.Object
-
- java.lang.Enum<SXBlendMode>
-
- com.shixing.sxedit.types.SXBlendMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SXBlendMode>
public enum SXBlendMode extends java.lang.Enum<SXBlendMode>
混合模式
-
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SXBlendMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SXBlendMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Normal
public static final SXBlendMode Normal
-
Lighten
public static final SXBlendMode Lighten
变亮
-
Darken
public static final SXBlendMode Darken
变暗
-
Multiply
public static final SXBlendMode Multiply
相乘
-
Average
public static final SXBlendMode Average
平均
-
Add
public static final SXBlendMode Add
相加
-
Subtract
public static final SXBlendMode Subtract
相减
-
Difference
public static final SXBlendMode Difference
相异
-
Screen
public static final SXBlendMode Screen
屏幕
-
Overlay
public static final SXBlendMode Overlay
叠加
-
-
Method Detail
-
values
public static SXBlendMode[] 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 (SXBlendMode c : SXBlendMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SXBlendMode 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
-
-