|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjaron.pde.Fonts
public class Fonts
The Fonts
class is a helper class for the Processing Development
Environment (PDE) font handling. Its methods are all accessed in a static way.
Field Summary | |
---|---|
static int |
FONT_SIZE
The standard font size. |
static int |
LINE_HEIGHT
The height of a single line of text. |
static int |
LINE_SPACING
The spacing between lines of text. |
Constructor Summary | |
---|---|
Fonts()
|
Method Summary | |
---|---|
static processing.core.PFont |
getFontBold(processing.core.PApplet applet)
Returns a PFont object of the bold font style. |
static processing.core.PFont |
getFontPlain(processing.core.PApplet applet)
Returns a PFont object of the normal font style. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FONT_SIZE
public static final int LINE_SPACING
public static final int LINE_HEIGHT
Constructor Detail |
---|
public Fonts()
Method Detail |
---|
public static processing.core.PFont getFontBold(processing.core.PApplet applet)
PFont
object of the bold font style.
applet
- a reference to the the PDE applet
PFont
objectpublic static processing.core.PFont getFontPlain(processing.core.PApplet applet)
PFont
object of the normal font style.
applet
- a reference to the the PDE applet
PFont
object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |