UIText
Extends:
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
text: * |
|
| public |
textObject: * |
|
Method Summary
| Public Methods | ||
| public |
end() |
|
| public |
getText(): * |
|
| public |
getTextWidth(): * |
|
| public |
onPause() |
|
| public |
|
|
| public |
setColor(r: *, g: *, b: *, a: *) |
|
| public |
setDepth(depth: *) |
|
| public |
setPosition(x: *, y: *) |
|
| public |
setText(text: *, scale: *) |
|
| public |
translate(x: *, y: *) |
|
Public Constructors
public constructor() source
Public Methods
public end() source
public onPause() source
public onUnpause() source
public setColor(r: *, g: *, b: *, a: *) source
Params:
| Name | Type | Attribute | Description |
| r | * | ||
| g | * | ||
| b | * | ||
| a | * |
public setDepth(depth: *) source
Params:
| Name | Type | Attribute | Description |
| depth | * |
public setPosition(x: *, y: *) source
Params:
| Name | Type | Attribute | Description |
| x | * | ||
| y | * |
public setText(text: *, scale: *) source
Params:
| Name | Type | Attribute | Description |
| text | * | ||
| scale | * |
|
public translate(x: *, y: *) source
Params:
| Name | Type | Attribute | Description |
| x | * | ||
| y | * |
