|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.jpeg.icc.tags.ICCTag
ucar.jpeg.icc.tags.ICCXYZType
public class ICCXYZType
A tag containing a triplet.
jj2000.j2k.icc.tags.ICCXYZTypeReverse
,
jj2000.j2k.icc.types.XYZNumber
Field Summary | |
---|---|
long |
x
x component |
long |
y
y component |
long |
z
z component |
Fields inherited from class ucar.jpeg.icc.tags.ICCTag |
---|
count, data, offset, signature, type |
Constructor Summary | |
---|---|
protected |
ICCXYZType(int signature,
byte[] data,
int offset,
int length)
Construct this tag from its constituant parts |
Method Summary | |
---|---|
static long |
DoubleToXYZ(double x)
Normalization utility |
String |
toString()
Return the string rep of this tag. |
void |
write(RandomAccessFile raf)
Write to a file. |
static double |
XYZToDouble(long x)
Normalization utility |
Methods inherited from class ucar.jpeg.icc.tags.ICCTag |
---|
createInstance, signatureString, typeString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final long x
public final long y
public final long z
Constructor Detail |
---|
protected ICCXYZType(int signature, byte[] data, int offset, int length)
signature
- tag iddata
- array of bytesoffset
- to data in the data arraylength
- of data in the data arrayMethod Detail |
---|
public static long DoubleToXYZ(double x)
public static double XYZToDouble(long x)
public String toString()
toString
in class ICCTag
public void write(RandomAccessFile raf) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |