net.sourceforge.plantuml.klimt.drawing.eps.EpsStrategy 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.drawing.eps;
public enum EpsStrategy {
VERY_SIMPLE, WITH_MACRO, WITH_MACRO_AND_TEXT;
public EpsGraphics creatEpsGraphics() {
if (this == VERY_SIMPLE) {
return new EpsGraphics();
}
if (this == WITH_MACRO) {
return new EpsGraphicsMacro();
}
if (this == WITH_MACRO_AND_TEXT) {
return new EpsGraphicsMacroAndText();
}
throw new IllegalArgumentException();
}
public static EpsStrategy getDefault2() {
return WITH_MACRO;
}
}