|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectcontrolP5.ControlFont
public class ControlFont
ControlFont is a container for a PFont that can be used for customizing the font of a label. Fonts other than the pixel fonts provided by ControlP5 can for now only be used for TextLabels and Controller Labels. Textarea and Textfield are not supported.
Constructor Summary | |
---|---|
ControlFont(processing.core.PFont theFont)
|
|
ControlFont(processing.core.PFont theFont,
int theFontSize)
create a controlFont and pass a reference to a PFont. |
Method Summary | |
---|---|
processing.core.PFont |
getPFont()
|
boolean |
isSmooth()
Deprecated. |
void |
setSize(int theSize)
|
void |
setSmooth(boolean theFlag)
Deprecated. |
int |
size()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ControlFont(processing.core.PFont theFont, int theFontSize)
theFont
- theFontSize
- public ControlFont(processing.core.PFont theFont)
Method Detail |
---|
public void setSmooth(boolean theFlag)
theFlag
- public boolean isSmooth()
public processing.core.PFont getPFont()
public int size()
public void setSize(int theSize)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |