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 boolean
equals(java.lang.Object o)
int
getHeight()
Height of the area.int
getWidth()
Width of the area.int
getX()
Horizontal position relative to the top-left corner of the area.int
getY()
Vertical position relative to the top-left corner of the area.int
hashCode()
java.lang.String
toString()
-
-
-
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:
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
-
-