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

public class ScaleWidth extends ScaleProtected implements Scale {

	private final double maxWidth;

	public ScaleWidth(double maxWidth) {
		this.maxWidth = maxWidth;
	}

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