Class Metafile.Header

  • Enclosing class:
    Metafile

    public static class Metafile.Header
    extends java.lang.Object
    A structure which represents a 34-byte header preceding the compressed metafile data
    • Constructor Summary

      Constructors 
      Constructor Description
      Header()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Rectangle getBounds()  
      int getSize()  
      int getWmfSize()  
      void read​(byte[] data, int offset)  
      void write​(java.io.OutputStream out)  
      • Methods inherited from class java.lang.Object

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

      • Header

        public Header()
    • Method Detail

      • read

        public void read​(byte[] data,
                         int offset)
      • write

        public void write​(java.io.OutputStream out)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getSize

        public int getSize()
      • getWmfSize

        public int getWmfSize()
      • getBounds

        public java.awt.Rectangle getBounds()