public class RenderingUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RenderingUtils.DummySVGContext |
Constructor and Description |
---|
RenderingUtils() |
Modifier and Type | Method and Description |
---|---|
static org.w3c.dom.Element |
createRect(org.w3c.dom.Document doc,
double x,
double y,
double w,
double h) |
static org.w3c.dom.svg.SVGDocument |
createSVG() |
static java.lang.String |
documentToString(org.w3c.dom.Document doc) |
static java.lang.String |
length(double d) |
static double |
length(java.lang.String s) |
static org.w3c.dom.svg.SVGDocument |
parseSVG(java.lang.String s) |
public static org.w3c.dom.svg.SVGDocument parseSVG(java.lang.String s)
public static java.lang.String documentToString(org.w3c.dom.Document doc)
public static org.w3c.dom.svg.SVGDocument createSVG()
public static org.w3c.dom.Element createRect(org.w3c.dom.Document doc, double x, double y, double w, double h)
public static java.lang.String length(double d)
public static double length(java.lang.String s)