|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.jagrlib.VectorCommand
cz.cuni.jagrlib.VCommand.CreateFont
public class VCommand.CreateFont
Creates the new font instance (from: family, style, size).
VCommand.FontOrientation
,
VCommand.GetFont
,
VCommand.PutFont
,
VectorGraphics.createFont(java.lang.String, int, double)
,
TextRender
,
Serialized FormField Summary | |
---|---|
java.lang.String |
name
Font family name. |
double |
size
Font size (distance between two regularly spaced text lines). |
int |
style
Font style flags (bitwise OR of TextRender.FONT_* constants). |
Fields inherited from class cz.cuni.jagrlib.VectorCommand |
---|
FILL_CALLBACK, FILL_DUMMY, FILL_HATCHL, FILL_HATCHR, FILL_SOLID, LINE_CALLBACK, LINE_DASH, LINE_DASHDOT, LINE_DOT, LINE_DUMMY, LINE_SOLID |
Constructor Summary | |
---|---|
VCommand.CreateFont(java.lang.String _name,
int _style,
double _size)
Initializing constructor. |
Method Summary | |
---|---|
void |
execute(VectorGraphics out)
Executes the command on the given VectorGraphics interface. |
java.lang.String |
toString()
|
Methods inherited from class cz.cuni.jagrlib.VectorCommand |
---|
transform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String name
public int style
TextRender.FONT_*
constants).
TextRender.FONT_BOLD
public double size
Constructor Detail |
---|
public VCommand.CreateFont(java.lang.String _name, int _style, double _size)
_name
- Font family name._style
- Font style flags (bitwise OR of TextRender.FONT_*
constants)._size
- Font size (distance between two regularly spaced text lines).TextRender
,
TextRender.FONT_BOLD
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public void execute(VectorGraphics out) throws BadInterfaceException
VectorGraphics
interface.
execute
in class VectorCommand
out
- Output vector interface.
BadInterfaceException
VectorGraphics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |