public interface ImageData
containsCMapData() returns true and you
can retrieve those information using getCMapData() method.| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCMapData()
Indicates if the image has some position information.
|
java.lang.String |
getCMapData(java.lang.String nameId)
Return position information as a CMap formated string.
|
int |
getHeight()
Height in pixel of the image.
|
java.lang.Throwable |
getRootCause() |
int |
getStatus() |
java.lang.String |
getWarningOrError() |
int |
getWidth()
Width in pixel of the image.
|
int getWidth()
int getHeight()
boolean containsCMapData()
true if the image has position information.java.lang.String getCMapData(java.lang.String nameId)
nameId set to "foo_map", you will get
something like:
<map id="foo_map" name="foo_map"> <area shape="rect" id="..." href="..." title="..." alt="" coords="64,68,93,148"/> </map>
nameId - the id to be used in the cmap data string.java.lang.String getWarningOrError()
int getStatus()
java.lang.Throwable getRootCause()