java.lang.Object
com.sixlegs.image.png.Chunk
com.sixlegs.image.png.Chunk_cHRM
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- Chunk_VcHRM
- class Chunk_cHRM
- extends Chunk
|
Field Summary |
(package private) static int |
bKGD
|
(package private) static int |
cHRM
|
(package private) static int |
gAMA
|
(package private) static int |
gIFg
|
(package private) static int |
gIFx
|
(package private) static int |
hIST
|
(package private) static int |
iCCP
|
(package private) static int |
IDAT
|
(package private) static int |
IEND
|
(package private) static int |
IHDR
|
protected PngImage |
img
|
protected ExDataInputStream |
in_data
|
(package private) static int |
iTXt
|
(package private) int |
length
|
(package private) static int |
oFFs
|
(package private) static int |
pCAL
|
(package private) static int |
pHYs
|
(package private) static int |
PLTE
|
(package private) static int |
sBIT
|
(package private) static int |
sCAL
|
(package private) static int |
sPLT
|
(package private) static int |
sRGB
|
(package private) static int |
tEXt
|
(package private) static int |
tIME
|
(package private) static int |
tRNS
|
(package private) int |
type
|
protected double |
xb
|
protected double |
Xb
|
protected long |
xblong
|
protected double |
xg
|
protected double |
Xg
|
protected long |
xglong
|
protected double |
xr
|
protected double |
Xr
|
protected long |
xrlong
|
protected double |
xw
|
protected double |
Xw
|
protected long |
xwlong
|
protected double |
yb
|
protected double |
Yb
|
protected long |
yblong
|
protected double |
yg
|
protected double |
Yg
|
protected long |
yglong
|
protected double |
yr
|
protected double |
Yr
|
protected long |
yrlong
|
protected double |
yw
|
protected double |
Yw
|
protected long |
ywlong
|
protected double |
Zb
|
protected double |
Zg
|
protected double |
Zr
|
(package private) static int |
zTXt
|
protected double |
Zw
|
|
Constructor Summary |
(package private) |
Chunk_cHRM()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xwlong
protected long xwlong
ywlong
protected long ywlong
xrlong
protected long xrlong
yrlong
protected long yrlong
xglong
protected long xglong
yglong
protected long yglong
xblong
protected long xblong
yblong
protected long yblong
xw
protected double xw
yw
protected double yw
xr
protected double xr
yr
protected double yr
xg
protected double xg
yg
protected double yg
xb
protected double xb
yb
protected double yb
Xw
protected double Xw
Yw
protected double Yw
Zw
protected double Zw
Xr
protected double Xr
Yr
protected double Yr
Zr
protected double Zr
Xg
protected double Xg
Yg
protected double Yg
Zg
protected double Zg
Xb
protected double Xb
Yb
protected double Yb
Zb
protected double Zb
length
int length
type
int type
img
protected PngImage img
in_data
protected ExDataInputStream in_data
IHDR
static final int IHDR
- See Also:
- Constant Field Values
PLTE
static final int PLTE
- See Also:
- Constant Field Values
IDAT
static final int IDAT
- See Also:
- Constant Field Values
IEND
static final int IEND
- See Also:
- Constant Field Values
bKGD
static final int bKGD
- See Also:
- Constant Field Values
cHRM
static final int cHRM
- See Also:
- Constant Field Values
gAMA
static final int gAMA
- See Also:
- Constant Field Values
hIST
static final int hIST
- See Also:
- Constant Field Values
pHYs
static final int pHYs
- See Also:
- Constant Field Values
sBIT
static final int sBIT
- See Also:
- Constant Field Values
tEXt
static final int tEXt
- See Also:
- Constant Field Values
tIME
static final int tIME
- See Also:
- Constant Field Values
tRNS
static final int tRNS
- See Also:
- Constant Field Values
zTXt
static final int zTXt
- See Also:
- Constant Field Values
sRGB
static final int sRGB
- See Also:
- Constant Field Values
sPLT
static final int sPLT
- See Also:
- Constant Field Values
oFFs
static final int oFFs
- See Also:
- Constant Field Values
sCAL
static final int sCAL
- See Also:
- Constant Field Values
iCCP
static final int iCCP
- See Also:
- Constant Field Values
pCAL
static final int pCAL
- See Also:
- Constant Field Values
iTXt
static final int iTXt
- See Also:
- Constant Field Values
gIFg
static final int gIFg
- See Also:
- Constant Field Values
gIFx
static final int gIFx
- See Also:
- Constant Field Values
Chunk_cHRM
Chunk_cHRM()
multipleOK
protected boolean multipleOK()
- Overrides:
multipleOK in class Chunk
beforeIDAT
protected boolean beforeIDAT()
- Overrides:
beforeIDAT in class Chunk
calc
protected void calc()
readData
protected void readData()
throws java.io.IOException
- Overrides:
readData in class Chunk
checkRange
private void checkRange(double value,
java.lang.String color)
throws PngException
copy
Chunk copy()
isAncillary
boolean isAncillary()
isPrivate
final boolean isPrivate()
isReservedSet
final boolean isReservedSet()
isSafeToCopy
final boolean isSafeToCopy()
isUnknown
final boolean isUnknown()
bytesRemaining
int bytesRemaining()
typeToString
static java.lang.String typeToString(int x)
stringToType
static int stringToType(java.lang.String id)
badLength
final void badLength(int correct)
throws PngException
badLength
final void badLength()
throws PngException