public abstract class AbstractPolygon extends EMFTag
Modifier | Constructor and Description |
---|---|
protected |
AbstractPolygon(int id,
int version) |
protected |
AbstractPolygon(int id,
int version,
Rectangle bounds,
int numberOfPoints,
Point[] points) |
Modifier and Type | Method and Description |
---|---|
protected Rectangle |
getBounds() |
protected int |
getNumberOfPoints() |
protected Point[] |
getPoints() |
String |
toString() |
void |
write(int tagID,
EMFOutputStream emf)
Writes the extra tag information to the outputstream in binary format.
|
public void write(int tagID, EMFOutputStream emf) throws IOException
EMFTag
write
in class EMFTag
tagID
- id of the tagemf
- Binary CGM output streamIOException
- thrown by EMFOutputStreampublic String toString()
protected Rectangle getBounds()
protected int getNumberOfPoints()
protected Point[] getPoints()
Copyright © 2014. All rights reserved.