net.sourceforge.plantuml.klimt.drawing.svg.SvgData 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.svg;
import java.util.StringTokenizer;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.sourceforge.plantuml.StringUtils;
public final class SvgData {
// ::remove file when __HAXE__
private String svg;
private double startX;
private double startY;
private double width;
private double height;
public static SvgData fromGraphViz(String s) {
return new SvgData(removeSvgXmlHeader1(s));
}
private SvgData(String svg) {
this.svg = svg;
init();
}
private SvgData() {
}
private static String removeSvgXmlHeader1(String svg) {
final String newString = "