Package net.sourceforge.plantuml.api
Class ImageDataComplex
java.lang.Object
net.sourceforge.plantuml.api.ImageDataAbstract
net.sourceforge.plantuml.api.ImageDataComplex
- All Implemented Interfaces:
ImageData
-
Constructor Summary
ConstructorsConstructorDescriptionImageDataComplex(XDimension2D info, CMapData cmap, String warningOrError) ImageDataComplex(XDimension2D info, CMapData cmap, String warningOrError, int status) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if the image has some position information.getCMapData(String nameId) Return position information as a CMap formated string.Methods inherited from class net.sourceforge.plantuml.api.ImageDataAbstract
getHeight, getStatus, getWidth, setStatus
-
Constructor Details
-
ImageDataComplex
-
ImageDataComplex
-
-
Method Details
-
containsCMapData
public boolean containsCMapData()Description copied from interface:ImageDataIndicates if the image has some position information.- Returns:
trueif the image has position information.
-
getCMapData
Description copied from interface:ImageDataReturn position information as a CMap formated string. For example, if you call this method withnameIdset 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>
- Parameters:
nameId- the id to be used in the cmap data string.
-
getWarningOrError
-
getRootCause
-