Class Rectangle2

java.lang.Object
one.empty3.feature.tryocr.Rectangle2

public class Rectangle2 extends Object
  • Constructor Details

    • Rectangle2

      public Rectangle2(int x, int y, int w, int h)
    • Rectangle2

      public Rectangle2(Rectangle rectangle)
  • Method Details

    • 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(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • includes

      public boolean includes(Rectangle2 rectangle)