Enum Class SubPixel

java.lang.Object
java.lang.Enum<SubPixel>
com.github.moaxcp.x11client.protocol.render.SubPixel
All Implemented Interfaces:
IntValue, Serializable, Comparable<SubPixel>, Constable

public enum SubPixel extends Enum<SubPixel> implements IntValue
  • Enum Constant Details

    • UNKNOWN

      public static final SubPixel UNKNOWN
    • HORIZONTAL_R_G_B

      public static final SubPixel HORIZONTAL_R_G_B
    • HORIZONTAL_B_G_R

      public static final SubPixel HORIZONTAL_B_G_R
    • VERTICAL_R_G_B

      public static final SubPixel VERTICAL_R_G_B
    • VERTICAL_B_G_R

      public static final SubPixel VERTICAL_B_G_R
    • NONE

      public static final SubPixel NONE
  • Method Details

    • values

      public static SubPixel[] 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 SubPixel 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()
      Specified by:
      getValue in interface IntValue
    • getByCode

      public static SubPixel getByCode(int code)