org.freehep.graphicsio.emf.gdi
Class PolyPolygon

java.lang.Object
  extended by org.freehep.util.io.Tag
      extended by org.freehep.graphicsio.emf.EMFTag
          extended by org.freehep.graphicsio.emf.gdi.AbstractPolyPolygon
              extended by org.freehep.graphicsio.emf.gdi.PolyPolygon
All Implemented Interfaces:
GDIObject

public class PolyPolygon
extends AbstractPolyPolygon

PolyPolygon TAG.

Version:
$Id: PolyPolygon.java 10377 2007-01-23 15:44:34Z duns $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from class org.freehep.graphicsio.emf.EMFTag
logger
 
Fields inherited from class org.freehep.util.io.Tag
DEFAULT_TAG
 
Constructor Summary
PolyPolygon()
           
PolyPolygon(java.awt.Rectangle bounds, int start, int end, int[] numberOfPoints, java.awt.Point[][] points)
           
 
Method Summary
 EMFTag read(int tagID, EMFInputStream emf, int len)
           
 void write(int tagID, EMFOutputStream emf)
          Writes the extra tag information to the outputstream in binary format.
 
Methods inherited from class org.freehep.graphicsio.emf.gdi.AbstractPolyPolygon
getBounds, getNumberOfPoints, getPoints, render, render, toString
 
Methods inherited from class org.freehep.graphicsio.emf.EMFTag
read, write
 
Methods inherited from class org.freehep.util.io.Tag
getName, getTag, getTagType, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PolyPolygon

public PolyPolygon()

PolyPolygon

public PolyPolygon(java.awt.Rectangle bounds,
                   int start,
                   int end,
                   int[] numberOfPoints,
                   java.awt.Point[][] points)
Method Detail

read

public EMFTag read(int tagID,
                   EMFInputStream emf,
                   int len)
            throws java.io.IOException
Specified by:
read in class EMFTag
Throws:
java.io.IOException

write

public void write(int tagID,
                  EMFOutputStream emf)
           throws java.io.IOException
Description copied from class: EMFTag
Writes the extra tag information to the outputstream in binary format. This implementation writes nothing, but concrete tags may override this method. This method is called just after the TagHeader is written.

Overrides:
write in class EMFTag
Parameters:
tagID - id of the tag
emf - Binary CGM output stream
Throws:
java.io.IOException - thrown by EMFOutputStream


Copyright © 2000-2007 FreeHEP. All Rights Reserved.