net.sourceforge.plantuml.skin.ArrowDirection 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;
public enum ArrowDirection {
LEFT_TO_RIGHT_NORMAL, RIGHT_TO_LEFT_REVERSE, SELF, BOTH_DIRECTION;
public ArrowDirection reverse() {
switch (this) {
case LEFT_TO_RIGHT_NORMAL:
return RIGHT_TO_LEFT_REVERSE;
case RIGHT_TO_LEFT_REVERSE:
return LEFT_TO_RIGHT_NORMAL;
default:
throw new UnsupportedOperationException();
}
}
}