Enum PixelType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PixelType>

    public enum PixelType
    extends java.lang.Enum<PixelType>
    Various types of pixel, also known as bit depth, in a raster.
    Since:
    100.1.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static PixelType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static PixelType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • FLOAT_32_BIT

        public static final PixelType FLOAT_32_BIT
        Float, 32 bit (Java Float).
        Since:
        100.1.0
      • FLOAT_64_BIT

        public static final PixelType FLOAT_64_BIT
        Float, 64 bit (Java Double).
        Since:
        100.1.0
      • INTEGER_8_BIT

        public static final PixelType INTEGER_8_BIT
        Signed integer, 8 bit (Java Byte}.
        Since:
        100.1.0
      • INTEGER_16_BIT

        public static final PixelType INTEGER_16_BIT
        Signed integer, 16 bit (Java Short).
        Since:
        100.1.0
      • INTEGER_32_BIT

        public static final PixelType INTEGER_32_BIT
        Signed integer, 32 bit (Java Integer).
        Since:
        100.1.0
      • UNSIGNED_1_BIT

        public static final PixelType UNSIGNED_1_BIT
        Unsigned integer, 1 bit (Java Byte).
        Since:
        100.1.0
      • UNSIGNED_2_BIT

        public static final PixelType UNSIGNED_2_BIT
        Unsigned integer, 2 bit (Java Byte).
        Since:
        100.1.0
      • UNSIGNED_4_BIT

        public static final PixelType UNSIGNED_4_BIT
        Unsigned integer, 4 bit (Java Byte).
        Since:
        100.1.0
      • UNSIGNED_8_BIT

        public static final PixelType UNSIGNED_8_BIT
        Unsigned integer, 8 bit (Java Integer).
        Since:
        100.1.0
      • UNSIGNED_16_BIT

        public static final PixelType UNSIGNED_16_BIT
        Unsigned integer, 16 bit (Java Integer).
        Since:
        100.1.0
      • UNSIGNED_32_BIT

        public static final PixelType UNSIGNED_32_BIT
        Unsigned integer, 32 bit (Java Long).
        Since:
        100.1.0
      • UNKNOWN

        public static final PixelType UNKNOWN
        Unknown.
        Since:
        100.1.0
    • Method Detail

      • values

        public static PixelType[] 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 (PixelType c : PixelType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PixelType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null