Class Rectangle

  • All Implemented Interfaces:
    java.io.Serializable

    public class Rectangle
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int height  
      int width  
      int x  
      int y  
    • Constructor Summary

      Constructors 
      Constructor Description
      Rectangle​(int x, int y, int width, int height)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • height

        public int height
      • width

        public int width
      • y

        public int y
      • x

        public int x
    • Constructor Detail

      • Rectangle

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