Class ImageShapeExporter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void drawBorders​(java.awt.Graphics g, int shapeWidth, int shapeHeight, int imageWidth, int imageHeight)  
      void drawShapeAt​(java.awt.Graphics g, BitmapShape shape, java.awt.Point origin)  
      void export​(Shape shape, java.io.OutputStream outputStream)
      Export a single shape to the OutputStream.
      void export​(ShapeTable shapeTable, java.io.OutputStream outputStream)
      Export the entire shape table to the OutputStream.
      void export​(java.util.List<BitmapShape> blist, java.io.OutputStream outputStream)  
      • Methods inherited from class java.lang.Object

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

      • export

        public void export​(Shape shape,
                           java.io.OutputStream outputStream)
                    throws java.io.IOException
        Description copied from interface: ShapeExporter
        Export a single shape to the OutputStream.
        Specified by:
        export in interface ShapeExporter
        Throws:
        java.io.IOException
      • export

        public void export​(ShapeTable shapeTable,
                           java.io.OutputStream outputStream)
                    throws java.io.IOException
        Description copied from interface: ShapeExporter
        Export the entire shape table to the OutputStream.
        Specified by:
        export in interface ShapeExporter
        Throws:
        java.io.IOException
      • export

        public void export​(java.util.List<BitmapShape> blist,
                           java.io.OutputStream outputStream)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • drawBorders

        public void drawBorders​(java.awt.Graphics g,
                                int shapeWidth,
                                int shapeHeight,
                                int imageWidth,
                                int imageHeight)
      • drawShapeAt

        public void drawShapeAt​(java.awt.Graphics g,
                                BitmapShape shape,
                                java.awt.Point origin)