Class ImageDataSimple

    • Constructor Detail

      • ImageDataSimple

        public ImageDataSimple​(int width,
                               int height)
      • ImageDataSimple

        public ImageDataSimple​(XDimension2D dim)
      • ImageDataSimple

        public ImageDataSimple​(XDimension2D dim,
                               int status)
    • Method Detail

      • containsCMapData

        public boolean containsCMapData()
        Description copied from interface: ImageData
        Indicates if the image has some position information.
        Returns:
        true if the image has position information.
      • getCMapData

        public String getCMapData​(String nameId)
        Description copied from interface: ImageData
        Return position information as a CMap formated string. For example, if you call this method with 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>
         
        Parameters:
        nameId - the id to be used in the cmap data string.
      • getWarningOrError

        public String getWarningOrError()