Class Rectangle

  • public class Rectangle
    extends Object

    Rectangle for changes

    • Constructor Detail

      • Rectangle

        public Rectangle()
      • Rectangle

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

        Creates a new instance of Rectangle

        x - X position of rectangle
        y - Y position of Rectangle
        width - Width of Rectangle
        height - Height of Rectangle
    • Method Detail

      • getHeight

        public float getHeight()

        Gets or Sets Height of rectangle

      • getWidth

        public float getWidth()

        Gets or Sets Width of rectangle

      • getX

        public float getX()

        Gets or Sets X position of rectangle

      • getY

        public float getY()

        Gets or Sets Y position of rectangle

      • hashCode

        public int hashCode()
        hashCode in class Object
      • setHeight

        public void setHeight(float value)
      • setWidth

        public void setWidth(float value)
      • setX

        public void setX(float value)
      • setY

        public void setY(float value)