Class ViewportMath<T extends JComponent & Viewport & HasScene & HasMargin>

    • Constructor Detail

      • ViewportMath

        public ViewportMath(T view)
    • Method Detail

      • getMinimumOffset

        public double getMinimumOffset(boolean horizontal)
      • getMaximumOffset

        public double getMaximumOffset()
      • getRangeMinimum

        public int getRangeMinimum()
      • getRangeMaximum

        public int getRangeMaximum(boolean horizontal)
      • getRangeExtent

        public int getRangeExtent(boolean horizontal)
      • getRangeValue

        public int getRangeValue(boolean horizontal)
      • getViewportOffset

        public double getViewportOffset(int rangeValue,
                                        boolean horizontal)