- All Implemented Interfaces:
Scale
public class ScaleMaxWidth
extends Object
implements Scale
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sourceforge.plantuml.Scale
getScale
-
Constructor Details
-
ScaleMaxWidth
public ScaleMaxWidth(double maxWidth)
-
Method Details
-
getScaleInternal
public double getScaleInternal(double width,
double height)
-
getScale
public final double getScale(double width,
double height)
- Specified by:
getScale
in interface Scale