public static class ImageMap.PolygonArea extends ImageMap.Area
Modifier and Type | Field and Description |
---|---|
Rectangle |
bounds |
boolean |
closed |
Polygon |
polygon |
linkTarget, linkText, shape
properties
Constructor and Description |
---|
PolygonArea(Polygon polygon,
String linkTarget,
String linkText) |
PolygonArea(Polygon polygon,
String linkTarget,
String linkText,
boolean closed) |
Modifier and Type | Method and Description |
---|---|
ImageMap.Area |
copy() |
Rectangle |
getBounds() |
boolean |
sameShape(ImageMap.Area other) |
equals
getProperties, getProperty, getPropertyCount, hasProperty, putProperties, putProperty, removeAllProperties, removeProperty
public final Polygon polygon
public final Rectangle bounds
public final boolean closed
public ImageMap.Area copy()
copy
in class ImageMap.Area
public Rectangle getBounds()
getBounds
in class ImageMap.Area
public boolean sameShape(ImageMap.Area other)
sameShape
in class ImageMap.Area