public abstract class EMFTag extends org.freehep.util.io.Tag implements GDIObject
Modifier and Type | Field and Description |
---|---|
protected static Logger |
logger
logger for all instances
|
Modifier | Constructor and Description |
---|---|
protected |
EMFTag(int id,
int version)
Constructs a EMFTag.
|
Modifier and Type | Method and Description |
---|---|
abstract EMFTag |
read(int tagID,
EMFInputStream emf,
int len) |
org.freehep.util.io.Tag |
read(int tagID,
org.freehep.util.io.TaggedInputStream input,
int len) |
void |
render(EMFRenderer renderer)
displays the tag using the renderer
|
String |
toString() |
void |
write(int tagID,
EMFOutputStream emf)
Writes the extra tag information to the outputstream in binary format.
|
void |
write(int tagID,
org.freehep.util.io.TaggedOutputStream output) |
protected static final Logger logger
protected EMFTag(int id, int version)
id
- id of the elementversion
- emf version in which this element was first supportedpublic org.freehep.util.io.Tag read(int tagID, org.freehep.util.io.TaggedInputStream input, int len) throws IOException
read
in class org.freehep.util.io.Tag
IOException
public abstract EMFTag read(int tagID, EMFInputStream emf, int len) throws IOException
IOException
public void write(int tagID, org.freehep.util.io.TaggedOutputStream output) throws IOException
write
in class org.freehep.util.io.Tag
IOException
public void write(int tagID, EMFOutputStream emf) throws IOException
tagID
- id of the tagemf
- Binary CGM output streamIOException
- thrown by EMFOutputStreampublic String toString()
toString
in class org.freehep.util.io.Tag
public void render(EMFRenderer renderer)
Copyright © 2014. All rights reserved.