FSlateTextLayout

Windows
MacOS
Linux

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

Name Description

Protected variable

FTextBlockStyle

 

DefaultTextStyle

Default style used by the TextLayout

Constructors

Name Description

Protected function

FSlateTextLayout

(
    SWidget* InOwner,
    FTextBlockStyle InDefaultTextStyle
)

Functions

Name Description

Protected function Virtual

void

 

AggregateChildren()

Public function Virtual Const

void

 

ArrangeChildren

(
    const FGeometry& AllottedGeometry,
    FArrangedChildren& ArrangedChildre...
)

Public function Static

TSharedRef< ...

 

Create

(
    SWidget* InOwner,
    FTextBlockStyle InDefaultTextStyle
)

Public function

FChildren &#...

 

GetChildren()

Public function Const

const FTextB...

 

GetDefaultTextStyle()

Public function Virtual Const

int32

 

OnPaint

(
    const FPaintArgs& Args,
    const FGeometry& AllottedGeometry,
    const FSlateRect& MyCullingRect,
    FSlateWindowElementList& OutDrawEl...,
    int32 LayerId,
    const FWidgetStyle& InWidgetStyle,
    bool bParentEnabled
)

Protected function Virtual Const

int32

 

OnPaintHighlights

(
    const FPaintArgs& Args,
    const FTextLayout::FLineView& Line...,
    const TArray< FLineViewHighlight > ...,
    const FTextBlockStyle& DefaultText...,
    const FGeometry& AllottedGeometry,
    const FSlateRect& ClippingRect,
    FSlateWindowElementList& OutDrawEl...,
    const int32 LayerId,
    const FWidgetStyle& InWidgetStyle,
    bool bParentEnabled
)

Public function

void

 

SetDefaultTextStyle

(
    FTextBlockStyle InDefaultTextStyle
)

Public function

void

 

SetIsPassword

(
    const TAttribute< bool >& InIsPass...
)

Overridden from FTextLayout

Name Description

Protected function Virtual Const

TSharedRef< ...

 

CreateDefaultTextRun

(
    const TSharedRef< FString >& NewTe...,
    const FTextRange& NewRange
)

Called to generate a new empty text run for this text layout

Public function Virtual

void

 

EndLayout()

Notifies all Runs that the layout has finished generating.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss