Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FTextLayout
| Name | FTextLayoutSize |
| Type | struct |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Text/TextLayout.h |
| Include Path | #include "Framework/Text/TextLayout.h" |
Syntax
struct FTextLayoutSize
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTextLayoutSize() |
Framework/Text/TextLayout.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DrawWidth | float | Width of the text layout, including any lines which extend beyond the wrapping boundaries (eg, lines with lots of trailing whitespace, or lines with no break candidates) | Framework/Text/TextLayout.h | |
| Height | float | Height of the text layout | Framework/Text/TextLayout.h | |
| WrappedWidth | float | Width of the text layout after the text has been wrapped, and including the first piece of trailing whitespace for any given soft-wrapped line | Framework/Text/TextLayout.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector2D GetDrawSize() |
Framework/Text/TextLayout.h | ||
FVector2D GetWrappedSize() |
Framework/Text/TextLayout.h |