Class Bounds


  • public class Bounds
    extends Object
    • Constructor Detail

      • Bounds

        public Bounds​(Point lowerRight,
                      Point upperLeft)
        Constructs a Bounds with initial lowerRight and upperleft
        Parameters:
        lowerRight -
        upperLeft -
    • Method Detail

      • getLowerRight

        public Point getLowerRight()
        Returns:
        the lowerRight of a Bounds
      • setLowerRight

        public void setLowerRight​(Point lowerRight)
        Parameters:
        lowerRight - the lowerRight to set
      • getUpperLeft

        public Point getUpperLeft()
        Returns:
        the upperLeft of a Bounds
      • setUpperLeft

        public void setUpperLeft​(Point upperLeft)
        Parameters:
        upperLeft - the upperLeft to set