Class ScaleMaxWidth

  • All Implemented Interfaces:
    Scale

    public class ScaleMaxWidth
    extends Object
    implements Scale
    • Constructor Detail

      • ScaleMaxWidth

        public ScaleMaxWidth​(double maxWidth)
    • 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