Class Rectangle

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

@NullMarked public class Rectangle extends Object
  • Field Details Link icon

    • x Link icon

      public final int x
    • y Link icon

      public final int y
    • height Link icon

      public final int height
    • width Link icon

      public final int width
  • Constructor Details Link icon

    • Rectangle Link icon

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

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

    • getX Link icon

      public int getX()
    • getY Link icon

      public int getY()
    • getHeight Link icon

      public int getHeight()
    • getWidth Link icon

      public int getWidth()
    • getPoint Link icon

      public Point getPoint()
    • getDimension Link icon

      public Dimension getDimension()
    • equals Link icon

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object