public class PngChunkCHRM extends PngChunkSingle
see http://www.w3.org/TR/PNG/#11cHRM
PngChunk.ChunkOrderingConstraint
Constructor and Description |
---|
PngChunkCHRM(ImageInfo info) |
Modifier and Type | Method and Description |
---|---|
ChunkRaw |
createRawChunk()
Creates the physical chunk.
|
double[] |
getChromaticities() |
PngChunk.ChunkOrderingConstraint |
getOrderingConstraint()
|
void |
parseFromRaw(ChunkRaw c)
Parses raw chunk and fill inside data.
|
void |
setChromaticities(double whitex,
double whitey,
double redx,
double redy,
double greenx,
double greeny,
double bluex,
double bluey) |
allowsMultiple, equals, hashCode
createEmptyChunk, getChunkGroup, getLen, getOffset, getRaw, hasPriority, invalidateRawData, setPriority, toString
public static final String ID
public PngChunkCHRM(ImageInfo info)
public PngChunk.ChunkOrderingConstraint getOrderingConstraint()
PngChunk
getOrderingConstraint
in class PngChunk
public ChunkRaw createRawChunk()
PngChunk
createRawChunk
in class PngChunk
public void parseFromRaw(ChunkRaw c)
PngChunk
parseFromRaw
in class PngChunk
public void setChromaticities(double whitex, double whitey, double redx, double redy, double greenx, double greeny, double bluex, double bluey)
public double[] getChromaticities()
Copyright © 2014. All rights reserved.