|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object comirva.visu.epsgraphics.objects.EpsShape comirva.visu.epsgraphics.objects.EpsGlyph
public class EpsGlyph
This class represents an EpsGlyph. It encapsulates a GlyphVector. Use this class to make sure that the font in the resulting postscript file is the same as choosen. Attention! The text is translated into Bezier Curves, so the resulting postscript file do not contain any text directly (not searchable!) and is usually a bit larger. Use EpsString objects, if you want to make the document searchable, but be careful, not all fonts are found on different systems!
Field Summary | |
---|---|
protected Point |
pos
glpyh position |
Fields inherited from class comirva.visu.epsgraphics.objects.EpsShape |
---|
code, filled, params, shape |
Constructor Summary | |
---|---|
EpsGlyph(GlyphVector glyphVector)
create eps glyph using given glyph vector. |
|
EpsGlyph(GlyphVector glyphVector,
boolean filled)
create eps glyph using the given information |
|
EpsGlyph(GlyphVector glyphVector,
Point position)
create eps glyph using given glyph vector at given position. |
|
EpsGlyph(GlyphVector glyphVector,
Point position,
boolean filled)
create eps glyph using the given information |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
toEps()
returns a String that represents the object in postscript code |
Methods inherited from class comirva.visu.epsgraphics.objects.EpsShape |
---|
getShape, isFilled, setFilled, setShape |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Point pos
Constructor Detail |
---|
public EpsGlyph(GlyphVector glyphVector)
glyphVector
- the glyph vectorpublic EpsGlyph(GlyphVector glyphVector, Point position)
glyphVector
- the glyph vectorposition
- the positionpublic EpsGlyph(GlyphVector glyphVector, Point position, boolean filled)
glyphVector
- the glyph vectorposition
- the positionfilled
- specifies whether the glyphs should be filled or notpublic EpsGlyph(GlyphVector glyphVector, boolean filled)
glyphVector
- the glyph vectorfilled
- specifies whether the glyphs should be filled or notMethod Detail |
---|
public String toEps()
EpsObject
toEps
in interface EpsObject
toEps
in class EpsShape
public boolean equals(Object obj)
equals
in class EpsShape
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |