public class ExportCanvas extends Object
| Modifier and Type | Method and Description |
|---|---|
static ByteArrayInputStream |
convertSVG2PDF(String svg) |
static void |
createGroupMarker(Object o,
String s,
Object reference,
Graphics g) |
static void |
deploySVG(Component c2,
File f,
Dimension dim,
boolean inline,
String cssLoc,
boolean httpdFlag,
ArrayList<String> keyWords,
String title,
String description) |
static String |
doHTML5(Component c) |
static void |
initGroupMarker() |
static boolean |
isPresent() |
static void |
saveAsCompressedSVG(Component c,
File f) |
static ByteArrayOutputStream |
saveAsEPS(Component c) |
static void |
saveAsEPS(Component c,
File f) |
static ByteArrayInputStream |
saveAsPDF(Component c) |
static void |
saveAsPDF(Component c,
File f) |
static void |
saveAsPDF(Component c,
String s) |
static ByteArrayOutputStream |
saveAsPS(Component c) |
static void |
saveAsPS(Component c,
File f) |
static String |
saveAsSVG(Component c)
Returns the image in SVG format as a String
|
static void |
saveAsSVG(Component c,
File f)
Saves the image to an SVG file
|
static void |
saveAsSVG(Component c,
String str)
Saves the image to an SVG file
|
public static String saveAsSVG(Component c) throws IOException
c - an AWT componentIOExceptionpublic static void saveAsSVG(Component c, String str) throws IOException
c - an AWT componentstr - IOExceptionpublic static void saveAsSVG(Component c, File f) throws IOException
c - an AWT componentf - the file to save as a File instanceIOExceptionpublic static void saveAsCompressedSVG(Component c, File f) throws IOException
IOExceptionpublic static ByteArrayInputStream saveAsPDF(Component c) throws IOException
c - an AWT componentIOExceptionpublic static void saveAsPDF(Component c, String s) throws IOException
c - an AWT components - IOExceptionpublic static void saveAsPDF(Component c, File f) throws IOException
c - an AWT componentf - IOExceptionpublic static ByteArrayOutputStream saveAsEPS(Component c) throws IOException
c - an AWT componentIOExceptionpublic static void saveAsEPS(Component c, File f) throws IOException
c - an AWT componentf - IOExceptionpublic static ByteArrayOutputStream saveAsPS(Component c) throws IOException
c - an AWT componentIOExceptionpublic static void saveAsPS(Component c, File f) throws IOException
c - an AWT componentf - IOExceptionpublic static void deploySVG(Component c2, File f, Dimension dim, boolean inline, String cssLoc, boolean httpdFlag, ArrayList<String> keyWords, String title, String description) throws IOException
IOExceptionpublic static String doHTML5(Component c) throws IOException
IOExceptionpublic static ByteArrayInputStream convertSVG2PDF(String svg) throws IOException
svg - IOExceptionpublic static void initGroupMarker()
public static void createGroupMarker(Object o, String s, Object reference, Graphics g)
public static final boolean isPresent()
DMelt 2.0 © DataMelt by jWork.ORG