Class Rectangle

java.lang.Object
org.openqa.selenium.Rectangle

public class Rectangle extends Object
  • Field Details

    • x

      public final int x
    • y

      public final int y
    • height

      public final int height
    • width

      public final int width
  • Constructor Details

    • Rectangle

      public Rectangle(int x, int y, int height, int width)
    • Rectangle

      public Rectangle(Point p, Dimension d)
  • Method Details

    • getX

      public int getX()
    • getY

      public int getY()
    • getHeight

      public int getHeight()
    • getWidth

      public int getWidth()
    • getPoint

      public Point getPoint()
    • getDimension

      public Dimension getDimension()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object