Packages

 

com.aspose.cad.fileformats.png

Class PngColorType

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.cad.fileformats.png.PngColorType


  • public final class PngColorType
    extends com.aspose.ms.System.Enum

    Represents the PNG image color type.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int Grayscale
      Represents the color type where each pixel is a greyscale sample.
      static int GrayscaleWithAlpha
      Represents the color type where each pixel is a grayscale sample followed by an alpha sample.
      static int IndexedColor
      Represents the color type where each pixel is a palette index; a PLTE chunk shall appear.
      static int Truecolor
      Represents the color type where each pixel is an R,G,B triple.
      static int TruecolorWithAlpha
      Represents the color type where each pixel is an R,G,B triple followed by an alpha sample.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject
    • Field Detail

      • Grayscale

        public static final int Grayscale

        Represents the color type where each pixel is a greyscale sample.

        See Also:
        Constant Field Values
      • Truecolor

        public static final int Truecolor

        Represents the color type where each pixel is an R,G,B triple.

        See Also:
        Constant Field Values
      • IndexedColor

        public static final int IndexedColor

        Represents the color type where each pixel is a palette index; a PLTE chunk shall appear.

        See Also:
        Constant Field Values
      • GrayscaleWithAlpha

        public static final int GrayscaleWithAlpha

        Represents the color type where each pixel is a grayscale sample followed by an alpha sample.

        See Also:
        Constant Field Values
      • TruecolorWithAlpha

        public static final int TruecolorWithAlpha

        Represents the color type where each pixel is an R,G,B triple followed by an alpha sample.

        See Also:
        Constant Field Values