|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object comirva.visu.epsgraphics.objects.EpsString
public class EpsString
This class represents an eps string. The string is translated to postscript directly, so the resulting document is searchable.
Field Summary | |
---|---|
protected Point |
pos
the string position |
protected String |
txt
the text |
Constructor Summary | |
---|---|
EpsString()
constructs empty string |
|
EpsString(double x,
double y,
String text)
construct specified tring at the given position |
|
EpsString(Point position,
String text)
construct specified string at specified position |
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 Point pos
protected String txt
Constructor Detail |
---|
public EpsString()
public EpsString(Point position, String text)
position
- the positiontext
- the textpublic EpsString(double x, double y, String text)
x
- the x position of the texty
- the y position of the texttext
- the text itselfMethod Detail |
---|
public String toEps()
EpsObject
toEps
in interface EpsObject
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |