public class SVGUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
haveToSvg |
Constructor and Description |
---|
SVGUtils() |
Modifier and Type | Method and Description |
---|---|
static java.awt.geom.Rectangle2D |
adjustBounds(Picture pic,
java.awt.geom.Rectangle2D bounds,
java.awt.geom.AffineTransform transform) |
static java.lang.String |
toSVG(Picture p) |
static void |
toSVG(Picture p,
Consumer out) |
static void |
toSVG(Picture p,
PrintConsumer out,
boolean headers) |
static KElement |
toSVGNode(Picture p) |
public static java.lang.String toSVG(Picture p)
public static void toSVG(Picture p, PrintConsumer out, boolean headers)
public static java.awt.geom.Rectangle2D adjustBounds(Picture pic, java.awt.geom.Rectangle2D bounds, java.awt.geom.AffineTransform transform)