Package ca.cgjennings.imageio
Enum ImageLayer.BlendingMode
- java.lang.Object
-
- java.lang.Enum<ImageLayer.BlendingMode>
-
- ca.cgjennings.imageio.ImageLayer.BlendingMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ImageLayer.BlendingMode>
- Enclosing class:
- ImageLayer
public static enum ImageLayer.BlendingMode extends java.lang.Enum<ImageLayer.BlendingMode>
Layer blending modes used in PSD images.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLOR
DARKEN
DIFFERENCE
DISSOLVE
HARD_LIGHT
HUE
LIGHTEN
LUMINOSITY
MULTIPLY
NORMAL
OVERLAY
SATURATION
SCREEN
SOFT_LIGHT
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Composite
createGraphicsComposite(float alpha)
static ImageLayer.BlendingMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ImageLayer.BlendingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final ImageLayer.BlendingMode NORMAL
-
DARKEN
public static final ImageLayer.BlendingMode DARKEN
-
LIGHTEN
public static final ImageLayer.BlendingMode LIGHTEN
-
HUE
public static final ImageLayer.BlendingMode HUE
-
SATURATION
public static final ImageLayer.BlendingMode SATURATION
-
COLOR
public static final ImageLayer.BlendingMode COLOR
-
LUMINOSITY
public static final ImageLayer.BlendingMode LUMINOSITY
-
MULTIPLY
public static final ImageLayer.BlendingMode MULTIPLY
-
SCREEN
public static final ImageLayer.BlendingMode SCREEN
-
DISSOLVE
public static final ImageLayer.BlendingMode DISSOLVE
-
OVERLAY
public static final ImageLayer.BlendingMode OVERLAY
-
HARD_LIGHT
public static final ImageLayer.BlendingMode HARD_LIGHT
-
SOFT_LIGHT
public static final ImageLayer.BlendingMode SOFT_LIGHT
-
DIFFERENCE
public static final ImageLayer.BlendingMode DIFFERENCE
-
UNKNOWN
public static final ImageLayer.BlendingMode UNKNOWN
-
-
Method Detail
-
values
public static ImageLayer.BlendingMode[] 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 (ImageLayer.BlendingMode c : ImageLayer.BlendingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImageLayer.BlendingMode 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
-
createGraphicsComposite
public java.awt.Composite createGraphicsComposite(float alpha)
-
-