Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Text
Inheritance Hierarchy
- TSharedFromThis
- FTextLayout
- FSlateTextLayout
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Text/SlateTextLayout.h |
| Include | #include "Framework/Text/SlateTextLayout.h" |
Syntax
class FSlateTextLayout : public FTextLayout
Variables
| Type | Name | Description | |
|---|---|---|---|
| FTextBlockStyle | DefaultTextStyle | Default style used by the TextLayout |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSlateTextLayout
(
SWidget* InOwner, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | ArrangeChildren
(
const FGeometry& AllottedGeometry, |
||
| TSharedRef< FSlateTextLayout > | Create
(
SWidget* InOwner, |
||
| FChildren * | GetChildren () |
||
| const FTextBlockStyle & | |||
| int32 | OnPaint
(
const FPaintArgs& Args, |
||
| int32 | OnPaintHighlights
(
const FPaintArgs& Args, |
||
| void | SetDefaultTextStyle
(
FTextBlockStyle InDefaultTextStyle |
||
| void | SetIsPassword
(
const TAttribute< bool >& InIsPassword |
Overridden from FTextLayout
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< IRun > | CreateDefaultTextRun
(
const TSharedRef< FString >& NewText, |
Called to generate a new empty text run for this text layout | |
| void | EndLayout () |
Notifies all Runs that the layout has finished generating. |