TextLine
Inherits: RefCounted < Object
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
||
BitField<JustificationFlag> |
|
|
|
||
|
||
|
||
|
||
|
Methods
add_object ( Variant key, Vector2 size, InlineAlignment inline_align=5, int length=1, float baseline=0.0 ) |
|
add_string ( String text, Font font, int font_size, String language=””, Variant meta=null ) |
|
void |
clear ( ) |
void |
draw ( RID canvas, Vector2 pos, Color color=Color(1, 1, 1, 1) ) const |
void |
draw_outline ( RID canvas, Vector2 pos, int outline_size=1, Color color=Color(1, 1, 1, 1) ) const |
get_line_ascent ( ) const |
|
get_line_descent ( ) const |
|
get_line_underline_position ( ) const |
|
get_line_underline_thickness ( ) const |
|
get_line_width ( ) const |
|
get_object_rect ( Variant key ) const |
|
get_objects ( ) const |
|
get_rid ( ) const |
|
get_size ( ) const |
|
resize_object ( Variant key, Vector2 size, InlineAlignment inline_align=5, float baseline=0.0 ) |
|
void |
set_bidi_override ( Array override ) |
void |
tab_align ( PackedFloat32Array tab_stops ) |
Property Descriptions
HorizontalAlignment alignment = 0
void set_horizontal_alignment ( HorizontalAlignment value )
HorizontalAlignment get_horizontal_alignment ( )
There is currently no description for this property. Please help us by contributing one!
Direction direction = 0
There is currently no description for this property. Please help us by contributing one!
String ellipsis_char = "…"
There is currently no description for this property. Please help us by contributing one!
BitField<JustificationFlag> flags = 3
void set_flags ( BitField<JustificationFlag> value )
BitField<JustificationFlag> get_flags ( )
There is currently no description for this property. Please help us by contributing one!
Orientation orientation = 0
void set_orientation ( Orientation value )
Orientation get_orientation ( )
There is currently no description for this property. Please help us by contributing one!
bool preserve_control = false
There is currently no description for this property. Please help us by contributing one!
bool preserve_invalid = true
There is currently no description for this property. Please help us by contributing one!
OverrunBehavior text_overrun_behavior = 3
void set_text_overrun_behavior ( OverrunBehavior value )
OverrunBehavior get_text_overrun_behavior ( )
There is currently no description for this property. Please help us by contributing one!
float width = -1.0
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
bool add_object ( Variant key, Vector2 size, InlineAlignment inline_align=5, int length=1, float baseline=0.0 )
There is currently no description for this method. Please help us by contributing one!
bool add_string ( String text, Font font, int font_size, String language=””, Variant meta=null )
There is currently no description for this method. Please help us by contributing one!
void clear ( )
There is currently no description for this method. Please help us by contributing one!
void draw ( RID canvas, Vector2 pos, Color color=Color(1, 1, 1, 1) ) const
There is currently no description for this method. Please help us by contributing one!
void draw_outline ( RID canvas, Vector2 pos, int outline_size=1, Color color=Color(1, 1, 1, 1) ) const
There is currently no description for this method. Please help us by contributing one!
float get_line_ascent ( ) const
There is currently no description for this method. Please help us by contributing one!
float get_line_descent ( ) const
There is currently no description for this method. Please help us by contributing one!
float get_line_underline_position ( ) const
There is currently no description for this method. Please help us by contributing one!
float get_line_underline_thickness ( ) const
There is currently no description for this method. Please help us by contributing one!
float get_line_width ( ) const
There is currently no description for this method. Please help us by contributing one!
Rect2 get_object_rect ( Variant key ) const
There is currently no description for this method. Please help us by contributing one!
Array get_objects ( ) const
There is currently no description for this method. Please help us by contributing one!
RID get_rid ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_size ( ) const
There is currently no description for this method. Please help us by contributing one!
int hit_test ( float coords ) const
There is currently no description for this method. Please help us by contributing one!
bool resize_object ( Variant key, Vector2 size, InlineAlignment inline_align=5, float baseline=0.0 )
There is currently no description for this method. Please help us by contributing one!
void set_bidi_override ( Array override )
There is currently no description for this method. Please help us by contributing one!
void tab_align ( PackedFloat32Array tab_stops )
There is currently no description for this method. Please help us by contributing one!