Class ScaleSimple

  • All Implemented Interfaces:
    Scale

    public class ScaleSimple
    extends java.lang.Object
    implements Scale
    • Constructor Summary

      Constructors 
      Constructor Description
      ScaleSimple​(double scale)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getScale​(double width, double height)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScaleSimple

        public ScaleSimple​(double scale)
    • Method Detail

      • getScale

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