|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object comirva.visu.epsgraphics.objects.EpsFont
public class EpsFont
represents an EpsFont. It is used to save every font selection (setFont)
Field Summary | |
---|---|
(package private) Font |
f
the font |
(package private) int |
type
|
static int |
TYPE_FAMILY
the font family name should be chosen for postscript output |
static int |
TYPE_NAME
the font name should be chosen for postscript output |
static int |
TYPE_POSTSCRIPT
the postscript name should be chosen for postscript output |
Constructor Summary | |
---|---|
EpsFont(Font font)
create eps font (type postscript) |
|
EpsFont(Font font,
int type)
create eps font with given type ( TYPE_POSTSCRIPT or
TYPE_NAME or TYPE_FAMILY ) |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Font |
getFont()
return the font object that is represented by this object |
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 |
---|
public static final int TYPE_POSTSCRIPT
public static final int TYPE_NAME
public static final int TYPE_FAMILY
Font f
int type
Constructor Detail |
---|
public EpsFont(Font font)
font
- the fontpublic EpsFont(Font font, int type)
TYPE_POSTSCRIPT
or
TYPE_NAME
or TYPE_FAMILY
)
font
- the Fonttype
- the typeMethod Detail |
---|
public String toEps()
EpsObject
toEps
in interface EpsObject
public Font getFont()
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 |