net.sourceforge.plantuml.klimt.geom.VerticalAlignment 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.klimt.geom;
public enum VerticalAlignment {
TOP, CENTER, BOTTOM;
public static VerticalAlignment fromString(String s) {
if (TOP.name().equalsIgnoreCase(s)) {
return TOP;
}
// if (CENTER.name().equalsIgnoreCase(s)) {
// return CENTER;
// }
if (BOTTOM.name().equalsIgnoreCase(s)) {
return BOTTOM;
}
return BOTTOM;
}
}