|
Oxygine
1
2g game engine
|
Public Types | |
| enum | HorizontalAlign { HALIGN_DEFAULT, HALIGN_LEFT, HALIGN_MIDDLE, HALIGN_RIGHT } |
| enum | VerticalAlign { VALIGN_DEFAULT, VALIGN_BASELINE, VALIGN_TOP, VALIGN_MIDDLE, VALIGN_BOTTOM } |
Public Member Functions | |
| TextStyle (const ResFont *rs=0) | |
| TextStyle | withFont (const ResFont *f) const |
| TextStyle | alignTop () const |
| TextStyle | alignBottom () const |
| TextStyle | alignBaseline () const |
| TextStyle | alignMiddleV () const |
| TextStyle | alignLeft () const |
| TextStyle | alignRight () const |
| TextStyle | alignMiddleH () const |
| TextStyle | alignMiddle () const |
| TextStyle | withHOffset (int offset) const |
| TextStyle | withBaselineScale (float s) const |
| TextStyle | withKerning (int kerning) const |
| TextStyle | withMultiline (bool multiline=true) const |
| TextStyle | withColor (const Color &color) const |
| TextStyle | withFontSize (int size) const |
| TextStyle | withOutline (float outline) const |
| TextStyle | withOutlineColor (const Color &color) const |
| TextStyle | withWeight (float weight) const |
| TextStyle | withOptions (unsigned int opt) const |
Public Attributes | |
| const ResFont * | font |
| HorizontalAlign | hAlign |
| VerticalAlign | vAlign |
| int | linesOffset |
| int | kerning |
| unsigned int | options |
| bool | multiline |
| bool | breakLongWords |
| Color | color |
| int | fontSize |
| float | outline |
| Color | outlineColor |
| float | weight |
| float | baselineScale |
1.8.14