net.sourceforge.plantuml
Class ScaleWidthAndHeight

java.lang.Object
  extended by net.sourceforge.plantuml.ScaleWidthAndHeight
All Implemented Interfaces:
Scale

public class ScaleWidthAndHeight
extends Object
implements Scale


Constructor Summary
ScaleWidthAndHeight(double maxWidth, double maxHeight)
           
 
Method Summary
 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

ScaleWidthAndHeight

public ScaleWidthAndHeight(double maxWidth,
                           double maxHeight)
Method Detail

getScale

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


Copyright © 2011. All Rights Reserved.