|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.jpeg.jj2000.j2k.codestream.CoordInfo
public abstract class CoordInfo
This class is used to store the coordinates of objects such as code-blocks or precincts. As this is an abstract class, it cannot be used directly but derived classes have been created for code-blocks and packets (CBlkCoordInfo and PrecCoordInfo).
PrecCoordInfo
,
CBlkCoordInfo
Field Summary | |
---|---|
int |
h
Object's height |
int |
ulx
Horizontal upper left coordinate in the subband |
int |
uly
Vertical upper left coordinate in the subband |
int |
w
Object's width |
Constructor Summary | |
---|---|
CoordInfo()
Empty contructor |
|
CoordInfo(int ulx,
int uly,
int w,
int h)
Constructor. |
Method Summary | |
---|---|
String |
toString()
Returns object's information in a String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int ulx
public int uly
public int w
public int h
Constructor Detail |
---|
public CoordInfo(int ulx, int uly, int w, int h)
ulx
- The horizontal upper left coordinate in the subbanduly
- The vertical upper left coordinate in the subbandw
- The widthh
- The heightidx
- The object's indexpublic CoordInfo()
Method Detail |
---|
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |