Class Rectangle

  • public class Rectangle
    extends java.lang.Object
    • Field Summary

      Modifier and Type Field Description
      float height  
      float width  
      float x  
      float y  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(@Nullable java.lang.Object obj)  
      int hashCode()  
      @NotNull java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • x

        public float x
      • y

        public float y
      • width

        public float width
      • height

        public float height
    • Constructor Detail

      • Rectangle

        public Rectangle​(float x,
                         float y,
                         float width,
                         float height)
      • Rectangle

        public Rectangle​(@NotNull
                         @NotNull Rectangle other)
      • Rectangle

        public Rectangle()
    • Method Detail

      • equals

        public boolean equals​(@Nullable
                              @Nullable java.lang.Object obj)
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

        public @NotNull java.lang.String toString()
        toString in class java.lang.Object