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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AlphaCompositegetAlphaComposite(float alpha)intgetValue()static CompositevalueOf(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- 
CLEARpublic static final Composite CLEAR 
 - 
SRCpublic static final Composite SRC 
 - 
DSTpublic static final Composite DST 
 - 
SRC_OVERpublic static final Composite SRC_OVER 
 - 
DST_OVERpublic static final Composite DST_OVER 
 - 
SRC_INpublic static final Composite SRC_IN 
 - 
DST_INpublic static final Composite DST_IN 
 - 
SRC_OUTpublic static final Composite SRC_OUT 
 - 
DST_OUTpublic static final Composite DST_OUT 
 - 
SRC_ATOPpublic static final Composite SRC_ATOP 
 - 
DST_ATOPpublic static final Composite DST_ATOP 
 - 
XORpublic static final Composite XOR 
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 - 
getValuepublic int getValue() 
 - 
getAlphaCompositepublic AlphaComposite getAlphaComposite(float alpha) 
 
- 
 
-