Свойство | Type | Description | |
---|---|---|---|
KERNING | string | ||
LETTER | string | ||
asciiStartOffset | int | ||
kerning | float | ||
kerningPairs | Hashtable | ||
letter | GUILetter[] | ||
lineSpacing | float | ||
preloaded | bool |
Méthode | Description | |
---|---|---|
AddTextTexture ( |
||
AddTextTexture ( |
||
AddTextTexture ( |
||
GUIFont ( ) : System.Collections | ||
GUIFont ( Hashtable ht ) : System.Collections | ||
GetData ( Hashtable ht ) : Hashtable | ||
GetFittingTextLength ( string text, float space ) : int | ||
GetLetter ( char c ) : GUILetter | ||
GetLetterKerning ( int first, int second ) : float | ||
GetTextSize ( string text ) : Vector2 | ||
GetTextTexture ( string text ) : |
||
GetTextTexture ( string text, int width, int height ) : |
||
Preload ( ) : void | ||
SetData ( Hashtable ht ) : void | ||
SetFont ( Font f ) : void |
public AddTextTexture ( |
||
texture | ||
label | LabelContent, | |
dp | DialoguePosition, | |
p2Offset | Vector2 | |
Résultat |
public AddTextTexture ( |
||
texture | ||
label | LabelContent, | |
paddingX | float | |
p2Offset | Vector2 | |
showShadow | bool | |
shadowOffset | Vector2 | |
Résultat |
public AddTextTexture ( |
||
texture | ||
text | string | |
bounds | Rect | |
textColor | Color | |
shadowColor | Color | |
paddingX | float | |
p2Offset | Vector2 | |
showShadow | bool | |
shadowOffset | Vector2 | |
calcY | bool | |
Résultat |
public GUIFont ( Hashtable ht ) : System.Collections | ||
ht | Hashtable | |
Résultat | System.Collections |
public GetData ( Hashtable ht ) : Hashtable | ||
ht | Hashtable | |
Résultat | Hashtable |
public GetFittingTextLength ( string text, float space ) : int | ||
text | string | |
space | float | |
Résultat | int |
public GetLetterKerning ( int first, int second ) : float | ||
first | int | |
second | int | |
Résultat | float |
public GetTextSize ( string text ) : Vector2 | ||
text | string | |
Résultat | Vector2 |
public GetTextTexture ( string text ) : |
||
text | string | |
Résultat |
public GetTextTexture ( string text, int width, int height ) : |
||
text | string | |
width | int | |
height | int | |
Résultat |