src/net/sourceforge/plantuml/ScaleHeight.java
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml;

public class ScaleHeight extends ScaleProtected implements Scale {

	private final double maxHeight;

	public ScaleHeight(double maxHeight) {
		this.maxHeight = maxHeight;
	}

	public double getScaleInternal(double width, double height) {
		return maxHeight / height;
	}
}
