public abstract class AbstractPolyPolygon extends EMFTag
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPolyPolygon(int id,
int version,
Rectangle bounds,
int[] numberOfPoints,
Point[][] points)
Constructs a EMFTag.
|
| Modifier and Type | Method and Description |
|---|---|
protected Rectangle |
getBounds() |
protected int[] |
getNumberOfPoints() |
protected Point[][] |
getPoints() |
void |
render(EMFRenderer renderer)
displays the tag using the renderer.
|
protected void |
render(EMFRenderer renderer,
boolean closePath)
displays the tag using the renderer
|
String |
toString() |
protected AbstractPolyPolygon(int id,
int version,
Rectangle bounds,
int[] numberOfPoints,
Point[][] points)
id - id of the elementversion - emf version in which this element was first supportedbounds - bounds of figurenumberOfPoints - number of pointspoints - pointspublic String toString()
protected Rectangle getBounds()
protected int[] getNumberOfPoints()
protected Point[][] getPoints()
public void render(EMFRenderer renderer)
protected void render(EMFRenderer renderer, boolean closePath)
renderer - EMFRenderer storing the drawing session dataclosePath - if true the path is closed and filledCopyright © 2014. All rights reserved.