Navigation
API > API/Runtime > API/Runtime/Slate
| Name | FSlateTextLayout |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Text/SlateTextLayout.h |
| Include Path | #include "Framework/Text/SlateTextLayout.h" |
Syntax
class FSlateTextLayout : public FTextLayout
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FTextLayout → FSlateTextLayout
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateTextLayout
(
SWidget* InOwner, |
Framework/Text/SlateTextLayout.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsPassword | TAttribute< bool > | This this layout displaying a password? | Framework/Text/SlateTextLayout.h | |
| Children | TSlotlessChildren< SWidget > | Framework/Text/SlateTextLayout.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ArrangeChildren
(
const FGeometry& AllottedGeometry, |
Framework/Text/SlateTextLayout.h | ||
FChildren * GetChildren() |
Framework/Text/SlateTextLayout.h | ||
const FTextBlockStyle & GetDefaultTextStyle() |
Framework/Text/SlateTextLayout.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
Framework/Text/SlateTextLayout.h | ||
void SetDefaultTextStyle
(
FTextBlockStyle InDefaultTextStyle |
Framework/Text/SlateTextLayout.h | ||
void SetIsPassword
(
const TAttribute< bool >& InIsPassword |
Framework/Text/SlateTextLayout.h |
Overridden from FTextLayout
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EndLayout() |
Notifies all Runs that the layout has finished generating. | Framework/Text/SlateTextLayout.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AggregateChildren() |
Framework/Text/SlateTextLayout.h | ||
virtual int32 OnPaintHighlights
(
const FPaintArgs& Args, |
Framework/Text/SlateTextLayout.h |
Overridden from FTextLayout
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< IRun > CreateDefaultTextRun
(
const TSharedRef< FString >& NewText, |
Called to generate a new empty text run for this text layout | Framework/Text/SlateTextLayout.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< FSlateTextLayout > Create
(
SWidget* InOwner, |
Framework/Text/SlateTextLayout.h |