Class ScaledPanel.Bounds

  • Enclosing class:
    ScaledPanel

    public static class ScaledPanel.Bounds
    extends Object
    Why the heck did I create yet another Rectangle? Because I needed some precise semantics, especially for the y screen coordinate. "upper" is what you want to be placed on the upper part of the screen, "lower" on the lower part.
    • Constructor Detail

      • Bounds

        public Bounds()
      • Bounds

        public Bounds​(double left,
                      double right,
                      double upper,
                      double lower)
    • Method Detail

      • getUpper

        public double getUpper()
      • getLower

        public double getLower()
      • getRight

        public double getRight()
      • getLeft

        public double getLeft()