Class ScaleWidthAndHeight

  • All Implemented Interfaces:
    Scale

    public class ScaleWidthAndHeight
    extends Object
    implements Scale
    • Constructor Detail

      • ScaleWidthAndHeight

        public ScaleWidthAndHeight​(double maxWidth,
                                   double maxHeight)
    • Method Detail

      • getScaleInternal

        public double getScaleInternal​(double width,
                                       double height)
      • getScale

        public final double getScale​(double width,
                                     double height)
        Specified by:
        getScale in interface Scale