Enum Class PixelFormat

java.lang.Object
java.lang.Enum<PixelFormat>
com.luciad.drawing.PixelFormat
All Implemented Interfaces:
Serializable, Comparable<PixelFormat>, Constable

public enum PixelFormat extends Enum<PixelFormat>
Enumeration for the supported pixel formats.
  • Enum Constant Details Link icon

    • Rgb888 Link icon

      public static final PixelFormat Rgb888
      RGB values using 24 bits, i.e., 3 unsigned bytes.
    • Rgba8888 Link icon

      public static final PixelFormat Rgba8888
      RGBA values using 32 bits, i.e., 4 unsigned bytes.
    • Float32 Link icon

      public static final PixelFormat Float32
      Single band 32-bit float values.
    • Rgb32 Link icon

      public static final PixelFormat Rgb32
      RGB values with each band using 32 bits, i.e., 3 floats.
    • UnsignedShort Link icon

      public static final PixelFormat UnsignedShort
      16-bit unsigned integer values
    • Rgb565 Link icon

      public static final PixelFormat Rgb565
      RGB values using 16 bits, i.e., 2 unsigned bytes, layed out as 5+6+5 bits.
  • Method Details Link icon

    • values Link icon

      public static PixelFormat[] 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 Link icon

      public static PixelFormat 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