org.freehep.graphicsio.emf
Class Polyline
java.lang.Object
|
+--org.freehep.util.io.Tag
|
+--org.freehep.graphicsio.emf.EMFTag
|
+--org.freehep.graphicsio.emf.Polyline
- public class Polyline
- extends EMFTag
Polyline TAG.
- Version:
- $Id: Polyline.java,v 1.2 2002/08/06 14:59:16 duns Exp $
- Author:
- Mark Donszelmann
Polyline
public Polyline(Rectangle bounds,
int numberOfPoints,
Point[] points)
read
public EMFTag read(int tagID,
EMFInputStream emf,
int len)
throws IOException
- Specified by:
read
in class EMFTag
IOException
write
public void write(int tagID,
EMFOutputStream emf)
throws 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 tagemf
- Binary CGM output stream
IOException
toString
public String toString()
- Overrides:
toString
in class EMFTag
- Returns:
- a description of the tagName and tagID
Copyright © 2000-2003 FreeHEP, All Rights Reserved.