org.freehep.graphicsio.emf.gdi
Class EMFPolygon

java.lang.Object
  extended by org.freehep.util.io.Tag
      extended by org.freehep.graphicsio.emf.EMFTag
          extended by org.freehep.graphicsio.emf.gdi.AbstractPolygon
              extended by org.freehep.graphicsio.emf.gdi.EMFPolygon
All Implemented Interfaces:
GDIObject
Direct Known Subclasses:
Polygon16

public class EMFPolygon
extends AbstractPolygon

PolylineTo TAG.

Version:
$Id: EMFPolygon.java 10367 2007-01-22 19:26:48Z 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
  EMFPolygon()
           
protected EMFPolygon(int id, int version, java.awt.Rectangle bounds, int numberOfPoints, java.awt.Point[] points)
           
  EMFPolygon(java.awt.Rectangle bounds, int numberOfPoints, java.awt.Point[] points)
           
 
Method Summary
 EMFTag read(int tagID, EMFInputStream emf, int len)
           
 void render(EMFRenderer renderer)
          displays the tag using the renderer
 
Methods inherited from class org.freehep.graphicsio.emf.gdi.AbstractPolygon
getBounds, getNumberOfPoints, getPoints, toString, write
 
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

EMFPolygon

public EMFPolygon()

EMFPolygon

public EMFPolygon(java.awt.Rectangle bounds,
                  int numberOfPoints,
                  java.awt.Point[] points)

EMFPolygon

protected EMFPolygon(int id,
                     int version,
                     java.awt.Rectangle bounds,
                     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

render

public void render(EMFRenderer renderer)
displays the tag using the renderer

Specified by:
render in interface GDIObject
Overrides:
render in class EMFTag
Parameters:
renderer - EMFRenderer storing the drawing session data


Copyright © 2000-2007 FreeHEP. All Rights Reserved.