A widget that displays a character string. More...
Public Member Functions | |
| Label () | |
| Constructor. | |
Protected Member Functions | |
| override void | DisposeSelf () |
| Frees used resources. | |
| internal override void | Render () |
| Renders a scene graph. | |
Properties | |
| override float | Width [get, set] |
| Obtains and sets the width. | |
| override float | Height [get, set] |
| Obtains and sets the height. | |
| string | Text [get, set] |
| Obtains and sets the character string. | |
| UIFont | Font [get, set] |
| Obtains and sets the font of the character string. | |
| UIColor | TextColor [get, set] |
| Obtains and sets the color of the character string. | |
| TextShadowSettings | TextShadow [get, set] |
| Obtains and sets the information of the shadow of the character string. | |
| UIColor | BackgroundColor [get, set] |
| Obtains and sets the background color. | |
| HorizontalAlignment | HorizontalAlignment [get, set] |
| Obtains and sets the horizontal alignment. | |
| VerticalAlignment | VerticalAlignment [get, set] |
| Obtains and sets the vertical alignment. | |
| LineBreak | LineBreak [get, set] |
| Obtains and sets the break method of the character string. | |
| TextTrimming | TextTrimming [get, set] |
| Obtains and sets the cropping method of the character string. | |
| float | LineGap [get, set] |
| Obtains and sets the row spacing. | |
| float | TextHeight [get] |
| Test height. | |
A widget that displays a character string.
float LineGap [get, set] |
Obtains and sets the row spacing.
Default value is 0
float TextHeight [get] |
Test height.
Height (pixels) of the multiple-line text rendered with current settings. The rendered text will be wrapped around at the current width, LineBreak.