Class ImagemapArea
- java.lang.Object
-
- com.linecorp.bot.model.message.imagemap.ImagemapArea
-
public final class ImagemapArea extends java.lang.Object
Defines the size of the full imagemap with the width as 1040px. The top left is used as the origin of the area.
-
-
Constructor Summary
Constructors Constructor Description ImagemapArea(int x, int y, int width, int height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
getHeight()
Height of the tappable area.int
getWidth()
Width of the tappable area.int
getX()
Horizontal position of the tappable area.int
getY()
Vertical position of the tappable area.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getX
public int getX()
Horizontal position of the tappable area.
-
getY
public int getY()
Vertical position of the tappable area.
-
getWidth
public int getWidth()
Width of the tappable area.
-
getHeight
public int getHeight()
Height of the tappable area.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-