Package one.empty3.feature.tryocr
Class Rectangle2
- java.lang.Object
-
- one.empty3.feature.tryocr.Rectangle2
-
public class Rectangle2 extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Rectangle2(int x, int y, int w, int h)
Rectangle2(Rectangle rectangle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
getH()
int
getW()
int
getX()
int
getY()
int
hashCode()
boolean
includes(Rectangle2 rectangle)
boolean
isValid()
void
setH(int h)
void
setW(int w)
void
setX(int x)
void
setY(int y)
-
-
-
Constructor Detail
-
Rectangle2
public Rectangle2(int x, int y, int w, int h)
-
Rectangle2
public Rectangle2(Rectangle rectangle)
-
-
Method Detail
-
getX
public int getX()
-
setX
public void setX(int x)
-
getY
public int getY()
-
setY
public void setY(int y)
-
getW
public int getW()
-
setW
public void setW(int w)
-
getH
public int getH()
-
setH
public void setH(int h)
-
isValid
public boolean isValid()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
includes
public boolean includes(Rectangle2 rectangle)
-
-