public class RectangleImageMapEntry extends AbstractImageMapEntry
Constructor and Description |
---|
RectangleImageMapEntry(float x1,
float y1,
float x2,
float y2) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(float x,
float y) |
float[] |
getAreaCoordinates() |
String |
getAreaType() |
Shape |
getShape() |
getAttribute, getFirstAttribute, getNames, getNameSpaces, setAttribute, toString
public RectangleImageMapEntry(float x1, float y1, float x2, float y2)
public String getAreaType()
public float[] getAreaCoordinates()
public Shape getShape()
public boolean contains(float x, float y)
contains
in interface ImageMapEntry
contains
in class AbstractImageMapEntry
Copyright © 2017 Hitachi Vantara. All rights reserved.