Package com.linecorp.bot.model.richmenu
Class RichMenuBounds
- java.lang.Object
-
- com.linecorp.bot.model.richmenu.RichMenuBounds
-
public final class RichMenuBounds extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RichMenuBounds(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 area.intgetWidth()Width of the area.intgetX()Horizontal position relative to the top-left corner of the area.intgetY()Vertical position relative to the top-left corner of the area.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getX
public int getX()
Horizontal position relative to the top-left corner of the area.
-
getY
public int getY()
Vertical position relative to the top-left corner of the area.
-
getWidth
public int getWidth()
Width of the area.
-
getHeight
public int getHeight()
Height of the 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
-
-