| Modifier and Type | Field and Description |
|---|---|
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | contributeToString(StringBuilder buffer)
Overrides org. |
| pack-priv int | |
| pack-priv PaletteData | |
| pack-priv int | |
| pack-priv void | setPaletteData(PaletteData palette)
Set the data of a PLTE chunk to the colors stored in the specified PaletteData object. |
| pack-priv void | validate(PngFileReadState readState, PngIhdrChunk headerChunk)
Answer whether the chunk is a valid PLTE chunk.
|
| paletteSize | back to summary |
|---|---|
| pack-priv int paletteSize | |
| PngPlteChunk | back to summary |
|---|---|
| pack-priv PngPlteChunk(PaletteData palette) | |
| PngPlteChunk | back to summary |
|---|---|
| pack-priv PngPlteChunk(byte[] reference) | |
| contributeToString | back to summary |
|---|---|
| pack-priv void contributeToString(StringBuilder buffer) Overrides org. Doc from org. Provided so that subclasses can override and add data to the toString() call.
| |
| getChunkType | back to summary |
|---|---|
| pack-priv int getChunkType() Overrides org.
| |
| getPaletteData | back to summary |
|---|---|
| pack-priv PaletteData getPaletteData() Get a PaletteData object representing the colors stored in this PLTE chunk. The result should be cached as the PLTE chunk does not store the palette data created. | |
| getPaletteSize | back to summary |
|---|---|
| pack-priv int getPaletteSize() Get the number of colors in this palette. | |
| setPaletteData | back to summary |
|---|---|
| pack-priv void setPaletteData(PaletteData palette) Set the data of a PLTE chunk to the colors stored in the specified PaletteData object. | |
| validate | back to summary |
|---|---|
| pack-priv void validate(PngFileReadState readState, PngIhdrChunk headerChunk) Overrides org. Answer whether the chunk is a valid PLTE chunk.
| |