Enum ChunkType
- All Implemented Interfaces:
Serializable
,Comparable<ChunkType>
,java.lang.constant.Constable
Type of a PNG chunk.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBackground colourPrimary chromaticities and white pointImage gammaImage histogramEmbedded ICC profileImage dataImage trailerImage headerInternational textual dataPhysical pixel dimensionsPaletteSignificant bitsPhysical scaleSuggested paletteStandard RGB colour spaceTextual dataImage last-modification timeTransparencyCompressed textual data -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
IHDR
Image header -
PLTE
Palette -
IDAT
Image data -
IEND
Image trailer -
tRNS
Transparency -
cHRM
Primary chromaticities and white point -
gAMA
Image gamma -
iCCP
Embedded ICC profile -
sBIT
Significant bits -
sRGB
Standard RGB colour space -
tEXt
Textual data -
zTXt
Compressed textual data -
iTXt
International textual data -
bKGD
Background colour -
hIST
Image histogram -
pHYs
Physical pixel dimensions -
sCAL
Physical scale -
sPLT
Suggested palette -
tIME
Image last-modification time
-
-
Field Details
-
array
final byte[] array -
value
final int value
-
-
Constructor Details
-
ChunkType
private ChunkType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-