![JAR search and dependency download from the Maven repository](/logo.png)
net.sourceforge.plantuml.font.PSystemListFonts 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.font;
import java.awt.GraphicsEnvironment;
import net.sourceforge.plantuml.PlainStringsDiagram;
import net.sourceforge.plantuml.core.DiagramDescription;
import net.sourceforge.plantuml.core.UmlSource;
public class PSystemListFonts extends PlainStringsDiagram {
// ::remove folder when __CORE__
public PSystemListFonts(UmlSource source, String text) {
super(source);
strings.add(" Fonts available:");
strings.add(" ");
final String name[] = GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
for (String n : name) {
strings.add(n + " : " + text);
}
}
public DiagramDescription getDescription() {
return new DiagramDescription("(List fonts)");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy