|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcomirva.visu.epsgraphics.objects.EpsPath
public class EpsPath
this class represents a general eps path. An eps path consits of two arrays, one for the x values, the other for the y values.
| Field Summary | |
|---|---|
protected boolean |
closed
true if the path should be closed |
protected boolean |
filled
true if the path should be filled |
protected double[] |
xpoints
x coordinates of the points |
protected double[] |
ypoints
y coordinates of the points |
| Constructor Summary | |
|---|---|
EpsPath()
construct a default path (1 point, not closed, not filled |
|
EpsPath(double[] px,
double[] py)
construct a path from the given points, not closed, not filled |
|
EpsPath(double[] px,
double[] py,
boolean closed)
construct a path from given points, not filled |
|
EpsPath(double[] px,
double[] py,
boolean closed,
boolean filled)
construct a path from given points |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
toEps()
returns a String that represents the object in postscript code |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double[] xpoints
protected double[] ypoints
protected boolean closed
protected boolean filled
| Constructor Detail |
|---|
public EpsPath()
public EpsPath(double[] px,
double[] py)
public EpsPath(double[] px,
double[] py,
boolean closed)
public EpsPath(double[] px,
double[] py,
boolean closed,
boolean filled)
| Method Detail |
|---|
public String toEps()
EpsObject
toEps in interface EpsObjectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||