net.sourceforge.plantuml.skin.Area Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.skin;
import net.sourceforge.plantuml.klimt.geom.XDimension2D;
public class Area {
// ::remove folder when __HAXE__
private final XDimension2D dimensionToUse;
private double deltaX1;
@Override
public String toString() {
return dimensionToUse.toString() + " (" + deltaX1 + ")";
}
public Area(XDimension2D dimensionToUse) {
this.dimensionToUse = dimensionToUse;
}
public static Area create(double with, double height) {
return new Area(new XDimension2D(with, height));
}
public XDimension2D getDimensionToUse() {
return dimensionToUse;
}
public void setDeltaX1(double deltaX1) {
this.deltaX1 = deltaX1;
}
public final double getDeltaX1() {
return deltaX1;
}
}