|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.plantuml.api.ImageDataSimple
public class ImageDataSimple
Constructor Summary | |
---|---|
ImageDataSimple()
|
|
ImageDataSimple(int width,
int height)
|
Method Summary | |
---|---|
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.String |
getWarningOrError()
|
int |
getWidth()
Width in pixel of the image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageDataSimple(int width, int height)
public ImageDataSimple()
Method Detail |
---|
public int getWidth()
ImageData
getWidth
in interface ImageData
public int getHeight()
ImageData
getHeight
in interface ImageData
public boolean containsCMapData()
ImageData
containsCMapData
in interface ImageData
true
if the image has position information.public java.lang.String getCMapData(java.lang.String nameId)
ImageData
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>
getCMapData
in interface ImageData
nameId
- thie id to be used in the cmap data string.
public java.lang.String getWarningOrError()
getWarningOrError
in interface ImageData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |