public class ImageMap
extends java.lang.Object
CqImageMap component and make them available through an API to
CQ components.
The class is designed for single-threaded use.
| Modifier and Type | Class and Description |
|---|---|
class |
ImageMap.ImageArea
Inner class that represents an area of the map.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
draw(java.lang.String id)
Returns the HTML code required for the image map.
|
static ImageMap |
fromString(java.lang.String mapDefinition)
Creates a new
ImageMap object from the given string representation. |
public static ImageMap fromString(java.lang.String mapDefinition) throws java.lang.IllegalArgumentException
ImageMap object from the given string representation.mapDefinition - string representation (as created by the
CqImageMap component)java.lang.IllegalArgumentException - if the given string representation is invalidpublic java.lang.String draw(java.lang.String id)
Parameters originalSize and scaled can be used to create
a scaled map that is suitable for a scaled image.
id - id of the image mapCopyright © 2010 - 2023 Adobe. All Rights Reserved