Enum Class Composite

java.lang.Object
java.lang.Enum<Composite>
com.bc.ceres.glayer.Composite
All Implemented Interfaces:
Serializable, Comparable<Composite>, Constable

public enum Composite extends Enum<Composite>
An enumeration used by Layer.
  • Enum Constant Details

    • 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 Details

    • values

      public static Composite[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Composite valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
    • getAlphaComposite

      public AlphaComposite getAlphaComposite(float alpha)