Documentation of 'jhplot.io.images.ExportCanvas' Java class.
ExportCanvas
jhplot.io.images

Class ExportCanvas



  • public class ExportCanvas
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.io.ByteArrayInputStream convertSVG2PDF(java.lang.String svg) 
      static void createGroupMarker(java.lang.Object o, java.lang.String s, java.lang.Object reference, java.awt.Graphics g) 
      static void deploySVG(java.awt.Component c2, java.io.File f, java.awt.Dimension dim, boolean inline, java.lang.String cssLoc, boolean httpdFlag, java.util.ArrayList<java.lang.String> keyWords, java.lang.String title, java.lang.String description) 
      static java.lang.String doHTML5(java.awt.Component c) 
      static void initGroupMarker() 
      static boolean isPresent() 
      static void saveAsCompressedSVG(java.awt.Component c, java.io.File f) 
      static java.io.ByteArrayOutputStream saveAsEPS(java.awt.Component c) 
      static void saveAsEPS(java.awt.Component c, java.io.File f) 
      static java.io.ByteArrayInputStream saveAsPDF(java.awt.Component c) 
      static void saveAsPDF(java.awt.Component c, java.io.File f) 
      static void saveAsPDF(java.awt.Component c, java.lang.String s) 
      static java.io.ByteArrayOutputStream saveAsPS(java.awt.Component c) 
      static void saveAsPS(java.awt.Component c, java.io.File f) 
      static java.lang.String saveAsSVG(java.awt.Component c)
      Returns the image in SVG format as a String
      static void saveAsSVG(java.awt.Component c, java.io.File f)
      Saves the image to an SVG file
      static void saveAsSVG(java.awt.Component c, java.lang.String str)
      Saves the image to an SVG file
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • saveAsSVG

        public static java.lang.String saveAsSVG(java.awt.Component c)
                                          throws java.io.IOException
        Returns the image in SVG format as a String
        Parameters:
        c - an AWT component
        Returns:
        Throws:
        java.io.IOException
      • saveAsSVG

        public static void saveAsSVG(java.awt.Component c,
                                     java.lang.String str)
                              throws java.io.IOException
        Saves the image to an SVG file
        Parameters:
        c - an AWT component
        str -
        Throws:
        java.io.IOException
      • saveAsSVG

        public static void saveAsSVG(java.awt.Component c,
                                     java.io.File f)
                              throws java.io.IOException
        Saves the image to an SVG file
        Parameters:
        c - an AWT component
        f - the file to save as a File instance
        Throws:
        java.io.IOException
      • saveAsCompressedSVG

        public static void saveAsCompressedSVG(java.awt.Component c,
                                               java.io.File f)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • saveAsPDF

        public static java.io.ByteArrayInputStream saveAsPDF(java.awt.Component c)
                                                      throws java.io.IOException
        Parameters:
        c - an AWT component
        Returns:
        Throws:
        java.io.IOException
      • saveAsPDF

        public static void saveAsPDF(java.awt.Component c,
                                     java.lang.String s)
                              throws java.io.IOException
        Parameters:
        c - an AWT component
        s -
        Throws:
        java.io.IOException
      • saveAsPDF

        public static void saveAsPDF(java.awt.Component c,
                                     java.io.File f)
                              throws java.io.IOException
        Parameters:
        c - an AWT component
        f -
        Throws:
        java.io.IOException
      • saveAsEPS

        public static java.io.ByteArrayOutputStream saveAsEPS(java.awt.Component c)
                                                       throws java.io.IOException
        Parameters:
        c - an AWT component
        Returns:
        Throws:
        java.io.IOException
      • saveAsEPS

        public static void saveAsEPS(java.awt.Component c,
                                     java.io.File f)
                              throws java.io.IOException
        Parameters:
        c - an AWT component
        f -
        Throws:
        java.io.IOException
      • saveAsPS

        public static java.io.ByteArrayOutputStream saveAsPS(java.awt.Component c)
                                                      throws java.io.IOException
        Parameters:
        c - an AWT component
        Returns:
        Throws:
        java.io.IOException
      • saveAsPS

        public static void saveAsPS(java.awt.Component c,
                                    java.io.File f)
                             throws java.io.IOException
        Parameters:
        c - an AWT component
        f -
        Throws:
        java.io.IOException
      • deploySVG

        public static void deploySVG(java.awt.Component c2,
                                     java.io.File f,
                                     java.awt.Dimension dim,
                                     boolean inline,
                                     java.lang.String cssLoc,
                                     boolean httpdFlag,
                                     java.util.ArrayList<java.lang.String> keyWords,
                                     java.lang.String title,
                                     java.lang.String description)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • doHTML5

        public static java.lang.String doHTML5(java.awt.Component c)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • convertSVG2PDF

        public static java.io.ByteArrayInputStream convertSVG2PDF(java.lang.String svg)
                                                           throws java.io.IOException
        Parameters:
        svg -
        Returns:
        Throws:
        java.io.IOException
      • initGroupMarker

        public static void initGroupMarker()
      • createGroupMarker

        public static void createGroupMarker(java.lang.Object o,
                                             java.lang.String s,
                                             java.lang.Object reference,
                                             java.awt.Graphics g)
      • isPresent

        public static final boolean isPresent()

DMelt 3.0 © DataMelt by jWork.ORG