org.freehep.graphicsio.emf.gdi.AbstractPolyPolyline Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of freehep-graphicsio-emf Show documentation
Show all versions of freehep-graphicsio-emf Show documentation
FreeHEP Enhanced Metafile Format Driver
// Copyright 2007, FreeHEP.
package org.freehep.graphicsio.emf.gdi;
import org.freehep.graphicsio.emf.EMFRenderer;
import java.awt.Point;
import java.awt.Rectangle;
/**
* Parent class for a group of PolyLines. Childs are
* rendered as not closed polygons.
*
* @author Steffen Greiffenberg
* @version $Id: freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/gdi/AbstractPolyPolyline.java 9c0688d78e6b 2007/01/30 23:58:16 duns $
*/
public abstract class AbstractPolyPolyline extends AbstractPolyPolygon {
protected AbstractPolyPolyline(
int id,
int version,
Rectangle bounds,
int[] numberOfPoints,
Point[][] points) {
super(id, version, bounds, numberOfPoints, points);
}
/**
* displays the tag using the renderer. The default behavior
* is not to close the polygons and not to fill them.
*
* @param renderer EMFRenderer storing the drawing session data
*/
public void render(EMFRenderer renderer) {
render(renderer, false);
}
}