public final class ImageMap extends PropertySet
Modifier and Type | Class and Description |
---|---|
static class |
ImageMap.Area |
static class |
ImageMap.AreaShape |
static class |
ImageMap.CircleArea |
static class |
ImageMap.PolygonArea |
static class |
ImageMap.RectangleArea |
Modifier and Type | Field and Description |
---|---|
ImageMap.Area[] |
areas |
static ImageMap.Area[] |
EMPTY_AREA_LIST |
Image |
image |
Marks |
marks |
properties
Constructor and Description |
---|
ImageMap(Image image,
ImageMap.Area[] areas,
Marks marks) |
Modifier and Type | Method and Description |
---|---|
ImageMap |
copy() |
boolean |
equals(Object other) |
static Rectangle |
parseHTMLCircleBounds(String coords) |
static Polygon |
parseHTMLPolygon(String coords) |
static Rectangle |
parseHTMLRectangle(String coords) |
boolean |
sameAreas(ImageMap other) |
boolean |
sameMarks(ImageMap other) |
static String |
toHTMLCircleCoords(Rectangle bounds) |
static String |
toHTMLPolygonCoords(Polygon poly) |
static String |
toHTMLRectangleCoords(Rectangle rect) |
getProperties, getProperty, getPropertyCount, hasProperty, putProperties, putProperty, removeAllProperties, removeProperty
public static final ImageMap.Area[] EMPTY_AREA_LIST
public final Image image
public final ImageMap.Area[] areas
public final Marks marks
public ImageMap(Image image, ImageMap.Area[] areas, Marks marks)