Enum PngExporter.BitPixelValues

    • Enum Constant Detail

      • BlackWhite

        public static final PngExporter.BitPixelValues BlackWhite
        Black and white colors defined with a palette, image data contains 1 bit/pixel
      • BlackWhiteGray

        public static final PngExporter.BitPixelValues BlackWhiteGray
        Black, white, light, and dark gray colors defined with a palette, image data contains 2 bits/pixel
      • BaseColor16

        public static final PngExporter.BitPixelValues BaseColor16
        16 base colors defined with a palette, image data contains 2 bits/pixel
      • BaseColor256

        public static final PngExporter.BitPixelValues BaseColor256
        256 colors defined with a palette, image data contains 2 bits/pixel
      • RGBColors

        public static final PngExporter.BitPixelValues RGBColors
        image data contains 3*8 bits/pixel RGB colors, without palette.
      • RGBColorsWithAlphaChannel

        public static final PngExporter.BitPixelValues RGBColorsWithAlphaChannel
        image data contains 3*8 bits/pixel RGB colors, and 8 bits/pixel alpha channel, without palette.
    • Method Detail

      • values

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

        public static PngExporter.BitPixelValues 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