Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Text/SlateTextBlockLayout.h |
Include |
#include "Widgets/Text/SlateTextBlockLayout.h" |
class FSlateTextBlockLayout
Class to handle the cached layout of STextBlock/SRichTextBlock by proxying around a FTextLayout
Name | Description | |
---|---|---|
|
FSlateTextBlockLayout ( |
Constructor |
Name | Description | ||
---|---|---|---|
|
ArrangeChildren ( |
Arrange any child widgets in this layout |
|
|
ComputeDesiredSize ( |
Get the computed desired size for this layout, updating the internal cache as required |
|
|
DirtyContent() |
Force dirty the content due to an external change that can't be picked up automatically by this cache. |
|
|
DirtyLayout() |
Force dirty the layout due to an external change that can't be picked up automatically by this cache |
|
|
FChildren &#... |
GetChildren() |
Get the child widgets of this layout |
|
GetDesiredSize() |
Gets the last computed desired size. |
|
|
float |
GetLayoutScale() |
Get the TextLayout scale. |
|
OnPaint ( |
Paint this layout, updating the internal cache as required |
|
|
OverrideTextStyle ( |
Override the text style used and immediately update the text layout (if required). |
|
|
SetDebugSourceInfo ( |
Set the information used to help identify who owns this text layout in the case of an error |
|
|
SetTextFlowDirection ( |
Set the text flow direction that the internal text layout should use |
|
|
SetTextOverflowPolicy ( |
Set the text overflow policy that the internal text layout should use |
|
|
SetTextShapingMethod ( |
Set the text shaping method that the internal text layout should use |
Name |
Description |
|
---|---|---|
|
FWidgetArgs |
|
|
FWidgetDesiredSizeArgs |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
FWidgetArgs is deprecated. Upgrade to FWidgetDesiredSizeArgs instead. |