public class PngChunkSBIT extends PngChunkSingle
see http://www.w3.org/TR/PNG/#11sBIT
this chunk structure depends on the image type
PngChunk.ChunkOrderingConstraint| Constructor and Description |
|---|
PngChunkSBIT(ImageInfo info) |
| Modifier and Type | Method and Description |
|---|---|
ChunkRaw |
createRawChunk()
Creates the physical chunk.
|
int |
getAlphasb() |
int |
getGraysb() |
PngChunk.ChunkOrderingConstraint |
getOrderingConstraint()
|
int[] |
getRGB() |
void |
parseFromRaw(ChunkRaw c)
Parses raw chunk and fill inside data.
|
void |
setAlphasb(int a) |
void |
setGraysb(int gray) |
void |
setRGB(int r,
int g,
int b)
Set rgb values
|
allowsMultiple, equals, hashCodecreateEmptyChunk, getChunkGroup, getLen, getOffset, getRaw, hasPriority, invalidateRawData, setPriority, toStringpublic static final String ID
public PngChunkSBIT(ImageInfo info)
public PngChunk.ChunkOrderingConstraint getOrderingConstraint()
PngChunkgetOrderingConstraint in class PngChunkpublic void parseFromRaw(ChunkRaw c)
PngChunkparseFromRaw in class PngChunkpublic ChunkRaw createRawChunk()
PngChunkcreateRawChunk in class PngChunkpublic void setGraysb(int gray)
public int getGraysb()
public void setAlphasb(int a)
public int getAlphasb()
public void setRGB(int r,
int g,
int b)
public int[] getRGB()
Copyright © 2014. All rights reserved.