Verse API reference page for the text_block class
Text block widget. Displays text to the user.
Verse using statement |
using { /Fortnite.com/UI } |
Inheritance Hierarchy
This class is derived from the following hierarchy, starting with widget:
| Name | Description |
|---|---|
widget |
Base class for all UI elements drawn on the player's screen. |
text_base |
Base widget for text widget. |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
AutoWrap |
?logic |
Whether the text should be automatically wrapped. |
DefaultJustification |
text_justification |
The justification to display to the user. Used only during initialization of the widget and not modified by SetJustification. |
DefaultOverflowPolicy |
text_overflow_policy |
The policy that determine what happens when the text is longer than its allowed length. Used only during initialization of the widget and not modified by SetOverflowPolicy. |
DefaultShadowColor |
color |
The color of the shadow. Used only during initialization of the widget and not modified by SetShadowColor. |
DefaultShadowOffset |
?vector2 |
The direction the shadow is cast. Used only during initialization of the widget and not modified by SetShadowOffset. |
DefaultShadowOpacity |
float |
The opacity of the shadow. Used only during initialization of the widget and not modified by SetShadowOpacity. |
DefaultText |
message |
The text to display to the user. Used only during initialization of the widget and not modified by SetText. |
DefaultTextColor |
color |
The color of the displayed text. Used only during initialization of the widget and not modified by SetTextColor. |
DefaultTextOpacity |
float |
The opacity of the displayed text. Used only during initialization of the widget and not modified by SetTextOpacity. |
DefaultTextSize |
float |
The size of the displayed text. Used only during initialization of the widget and not modified by SetTextSize. |
WrappingPolicy |
?text_wrapping_policy |
The wrapping policy to determine where the line can be broken. |
WrapWidth |
?float |
Whether text wraps onto a new line when it's length exceeds this width; if this value is zero or negative, no wrapping occurs. |
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.