Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Text
Inheritance Hierarchy
- ISlateRun
- TSharedFromThis
- FSlateTextRun
- FSlatePasswordRun
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Text/SlateTextRun.h |
| Include | #include "Framework/Text/SlateTextRun.h" |
Syntax
class FSlateTextRun :
public ISlateRun,
public TSharedFromThis< FSlateTextRun >
Variables
| Type | Name | Description | |
|---|---|---|---|
| FTextRange | Range | ||
| FRunInfo | RunInfo | ||
| FTextBlockStyle | Style | ||
| TSharedRef< const FString > | Text |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSlateTextRun
(
const FSlateTextRun& Run |
|||
FSlateTextRun
(
const FRunInfo& InRunInfo, |
|||
FSlateTextRun
(
const FRunInfo& InRunInfo, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyFontSizeMultiplierOnTextStyle
(
float FontSizeMultiplier |
||
| TSharedRef< FSlateTextRun > | Create
(
const FRunInfo& InRunInfo, |
||
| TSharedRef< FSlateTextRun > | Create
(
const FRunInfo& InRunInfo, |
Overridden from ISlateRun
| Type | Name | Description | |
|---|---|---|---|
| void | ArrangeChildren
(
const TSharedRef< ILayoutBlock >& Block, |
||
| const TArray< TSharedRef< SWidget > > & | GetChildren () |
||
| int32 | OnPaint
(
const FPaintArgs& PaintArgs, |
Overridden from IRun
| Type | Name | Description | |
|---|---|---|---|
| void | AppendTextTo
(
FString& AppendToText, |
||
| void | AppendTextTo
(
FString& Text |
||
| void | BeginLayout () |
||
| TSharedRef< IRun > | Clone () |
||
| TSharedRef< ILayoutBlock > | CreateBlock
(
int32 StartIndex, |
||
| void | EndLayout () |
||
| int16 | GetBaseLine
(
float Scale |
||
| int8 | GetKerning
(
int32 CurrentIndex, |
||
| FVector2D | GetLocationAt
(
const TSharedRef< ILayoutBlock >& Block, |
||
| int16 | GetMaxHeight
(
float Scale |
||
| ERunAttributes | |||
| const FRunInfo & | GetRunInfo () |
||
| int32 | GetTextIndexAt
(
const TSharedRef< ILayoutBlock >& Block, |
||
| FTextRange | GetTextRange () |
||
| FVector2D | Measure
(
int32 StartIndex, |
||
| void | Move
(
const TSharedRef< FString >& NewText, |
||
| void | SetTextRange
(
const FTextRange& Value |