Class: CUILines
UI binding for CUILines.
Source
C++ class CUILines
Custom Constructor
CUILines
Constructors
Constructor
ts
new CUILines(): CUILines;Returns
CUILines
Methods
GetText()
ts
GetText(): string;Returns
string
Current text.
SetElipsis()
ts
SetElipsis(value: boolean): void;Enable or disable ellipsis.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | boolean | Whether long text should be ellipsized. |
Returns
void
SetFont()
ts
SetFont(value: CGameFont): void;Set text font.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | CGameFont | Font object. |
Returns
void
SetText()
ts
SetText(text: string): void;Set raw text.
Parameters
| Parameter | Type | Description |
|---|---|---|
text | string | Text value. |
Returns
void
SetTextColor()
ts
SetTextColor(color_code: number): void;Set text color.
Parameters
| Parameter | Type | Description |
|---|---|---|
color_code | number | ARGB color. |
Returns
void
SetTextST()
ts
SetTextST(text: string): void;Set translated string-table text.
Parameters
| Parameter | Type | Description |
|---|---|---|
text | string | String table id. |
Returns
void