Represents a font suitable for displaying text on the screen with. There is one of these per document. It's that way because each document can potentially name a font-family something different (via -face).
Public Member Functions | |
DynamicFont (string name) | |
Creates a new displayable font. More... | |
bool | LoadFaces () |
Loads this font from the local project files. Should be a folder named after the font family and in it a series of font files. More... | |
Static Public Member Functions | |
static DynamicFont | Get (string name) |
Creates a new font by loading the font from resources. More... | |
static DynamicFont | GetDefaultFamily () |
Public Attributes | |
string | Name |
The font family name. E.g. "Vera". More... | |
FontFamily | Family |
The underlying InfiniText font family. More... | |
Static Public Attributes | |
static DynamicFont | DefaultFamily |
The default font family. This is just the very first loaded family, or the internal font. More... | |
static string | InternalFont ="DejaVu" |
The font that will attempt to load entirely if no other font is available. Absolute last resort. More... | |
Properties | |
bool | Loaded [get] |
True if this font is ready to go. More... | |
|
inline |
Creates a new displayable font.
name | The name of the font. |
|
inlinestatic |
Creates a new font by loading the font from resources.
name | The name of the font to load. |
|
inlinestatic |
|
inline |
Loads this font from the local project files. Should be a folder named after the font family and in it a series of font files.
|
static |
The default font family. This is just the very first loaded family, or the internal font.
FontFamily PowerUI.DynamicFont.Family |
The underlying InfiniText font family.
|
static |
The font that will attempt to load entirely if no other font is available. Absolute last resort.
string PowerUI.DynamicFont.Name |
The font family name. E.g. "Vera".
|
get |
True if this font is ready to go.