Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Label¶
Inherits: Control < CanvasItem < Node < Object
A control for displaying plain text.
Description¶
A control for displaying plain text. It gives you control over the horizontal and vertical alignment and can wrap the text inside the node's bounding rectangle. It doesn't support bold, italics, or other rich text formatting. For that, use RichTextLabel instead.
Tutorials¶
Properties¶
|
||
|
||
|
||
BitField<JustificationFlag> |
|
|
|
||
|
||
|
||
mouse_filter |
|
|
BitField<SizeFlags> |
size_flags_vertical |
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods¶
get_line_count ( ) const |
|
get_line_height ( int line=-1 ) const |
|
get_total_character_count ( ) const |
|
get_visible_line_count ( ) const |
Theme Properties¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||