Class Rectangle2d


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

      Fields 
      Modifier and Type Field Description
      private int height  
      private int width  
      private int xPos  
      private int yPos  
    • Constructor Summary

      Constructors 
      Constructor Description
      Rectangle2d​(int p_i47637_1_, int p_i47637_2_, int p_i47637_3_, int p_i47637_4_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(int p_199315_1_, int p_199315_2_)  
      int getHeight()  
      int getWidth()  
      int getX()  
      int getY()  
      • Methods inherited from class java.lang.Object

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

      • xPos

        private int xPos
      • yPos

        private int yPos
      • width

        private int width
      • height

        private int height
    • Constructor Detail

      • Rectangle2d

        public Rectangle2d​(int p_i47637_1_,
                           int p_i47637_2_,
                           int p_i47637_3_,
                           int p_i47637_4_)
    • Method Detail

      • getX

        public int getX()
      • getY

        public int getY()
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • contains

        public boolean contains​(int p_199315_1_,
                                int p_199315_2_)