Class ImagemapArea
- java.lang.Object
-
- com.linecorp.bot.model.message.imagemap.ImagemapArea
-
public final class ImagemapArea extends java.lang.ObjectDefines 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 booleanequals(java.lang.Object o)intgetHeight()Height of the tappable area.intgetWidth()Width of the tappable area.intgetX()Horizontal position of the tappable area.intgetY()Vertical position of the tappable area.inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-