|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.config.ManagedConfig
com.threerings.opengl.gui.config.FontConfig
public class FontConfig
Describes a cursor.
| Nested Class Summary | |
|---|---|
static class |
FontConfig.Style
The available font styles. |
| Field Summary | |
|---|---|
boolean |
antialias
Whether or not the font should be antialiased. |
String |
file
The font file. |
static FontConfig |
NULL
An object to use when the config cannot be resolved. |
| Constructor Summary | |
|---|---|
FontConfig()
|
|
| Method Summary | |
|---|---|
TextFactory |
getTextFactory(GlContext ctx,
FontConfig.Style style,
int size)
Returns the text factory for this font with the specified style and point size. |
TextFactory |
getTextFactory(GlContext ctx,
int style,
int size)
Returns the text factory for this font with the specified style and point size. |
| Methods inherited from class com.threerings.config.ManagedConfig |
|---|
addListener, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getInstance, getName, getReference, init, removeListener, resourceModified, setName, updateFromSource, validateOuters, validateReferences, wasUpdated |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final FontConfig NULL
@Editable(editor="resource",
nullable=true)
@FileConstraints(description="m.font_files_desc",
extensions=".ttf",
directory="font_dir")
public String file
@Editable public boolean antialias
| Constructor Detail |
|---|
public FontConfig()
| Method Detail |
|---|
public TextFactory getTextFactory(GlContext ctx,
FontConfig.Style style,
int size)
public TextFactory getTextFactory(GlContext ctx,
int style,
int size)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||