Package com.bc.ceres.glayer
Enum Composite
- java.lang.Object
-
- java.lang.Enum<Composite>
-
- com.bc.ceres.glayer.Composite
-
- All Implemented Interfaces:
Serializable
,Comparable<Composite>
public enum Composite extends Enum<Composite>
An enumeration used byLayer
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AlphaComposite
getAlphaComposite(float alpha)
int
getValue()
static Composite
valueOf(String name)
Returns the enum constant of this type with the specified name.static Composite[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLEAR
public static final Composite CLEAR
-
SRC
public static final Composite SRC
-
DST
public static final Composite DST
-
SRC_OVER
public static final Composite SRC_OVER
-
DST_OVER
public static final Composite DST_OVER
-
SRC_IN
public static final Composite SRC_IN
-
DST_IN
public static final Composite DST_IN
-
SRC_OUT
public static final Composite SRC_OUT
-
DST_OUT
public static final Composite DST_OUT
-
SRC_ATOP
public static final Composite SRC_ATOP
-
DST_ATOP
public static final Composite DST_ATOP
-
XOR
public static final Composite XOR
-
-
Method Detail
-
values
public static Composite[] 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 (Composite c : Composite.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Composite valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
-
getAlphaComposite
public AlphaComposite getAlphaComposite(float alpha)
-
-