org.freehep.graphicsio.emf.gdi
Class Polygon16
java.lang.Object
org.freehep.util.io.Tag
org.freehep.graphicsio.emf.EMFTag
org.freehep.graphicsio.emf.gdi.AbstractPolygon
org.freehep.graphicsio.emf.gdi.EMFPolygon
org.freehep.graphicsio.emf.gdi.Polygon16
- All Implemented Interfaces:
- GDIObject
public class Polygon16
- extends EMFPolygon
Polygon16 TAG.
- Version:
- $Id: Polygon16.java 10367 2007-01-22 19:26:48Z duns $
- Author:
- Mark Donszelmann
Fields inherited from class org.freehep.graphicsio.emf.EMFTag |
logger |
Fields inherited from class org.freehep.util.io.Tag |
DEFAULT_TAG |
Constructor Summary |
Polygon16()
|
Polygon16(java.awt.Rectangle bounds,
int numberOfPoints,
java.awt.Point[] points)
|
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 |
Polygon16
public Polygon16()
Polygon16
public Polygon16(java.awt.Rectangle bounds,
int numberOfPoints,
java.awt.Point[] points)
read
public EMFTag read(int tagID,
EMFInputStream emf,
int len)
throws java.io.IOException
- Overrides:
read
in class EMFPolygon
- 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 AbstractPolygon
- Parameters:
tagID
- id of the tagemf
- Binary CGM output stream
- Throws:
java.io.IOException
- thrown by EMFOutputStream
Copyright © 2000-2007 FreeHEP. All Rights Reserved.