Navigation
API > API/Runtime > API/Runtime/Slate
| Name | FSlateTextRun |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Text/SlateTextRun.h |
| Include Path | #include "Framework/Text/SlateTextRun.h" |
Syntax
class FSlateTextRun :
public ISlateRun ,
public TSharedFromThis< FSlateTextRun >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FSlateTextRun
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateTextRun
(
const FSlateTextRun& Run |
Framework/Text/SlateTextRun.h | ||
FSlateTextRun
(
const FRunInfo& InRunInfo, |
Framework/Text/SlateTextRun.h | ||
FSlateTextRun
(
const FRunInfo& InRunInfo, |
Framework/Text/SlateTextRun.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSlateTextRun() |
Framework/Text/SlateTextRun.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyFontSizeMultiplierOnTextStyle
(
float FontSizeMultiplier |
Framework/Text/SlateTextRun.h |
Overridden from ISlateRun
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ArrangeChildren
(
const TSharedRef< ILayoutBlock >& Block, |
Framework/Text/SlateTextRun.h | ||
virtual const TArray< TSharedRef< SWidget > > & GetChildren() |
Framework/Text/SlateTextRun.h | ||
virtual int32 OnPaint
(
const FPaintArgs& PaintArgs, |
Framework/Text/SlateTextRun.h |
Overridden from IRun
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AppendTextTo
(
FString& AppendToText, |
Framework/Text/SlateTextRun.h | ||
virtual void AppendTextTo
(
FString& Text |
Framework/Text/SlateTextRun.h | ||
virtual void BeginLayout() |
Framework/Text/SlateTextRun.h | ||
virtual TSharedRef< IRun > Clone() |
Framework/Text/SlateTextRun.h | ||
virtual TSharedRef< ILayoutBlock > CreateBlock
(
int32 StartIndex, |
Framework/Text/SlateTextRun.h | ||
virtual void EndLayout() |
Framework/Text/SlateTextRun.h | ||
virtual int16 GetBaseLine
(
float Scale |
Framework/Text/SlateTextRun.h | ||
virtual int8 GetKerning
(
int32 CurrentIndex, |
Framework/Text/SlateTextRun.h | ||
virtual FVector2D GetLocationAt
(
const TSharedRef< ILayoutBlock >& Block, |
Framework/Text/SlateTextRun.h | ||
virtual int16 GetMaxHeight
(
float Scale |
Framework/Text/SlateTextRun.h | ||
virtual FVector2d GetOutlineSize
(
int32 StartIndex, |
Framework/Text/SlateTextRun.h | ||
virtual ERunAttributes GetRunAttributes() |
Framework/Text/SlateTextRun.h | ||
virtual const FRunInfo & GetRunInfo() |
Framework/Text/SlateTextRun.h | ||
virtual FVector2d GetShadowSize
(
int32 StartIndex, |
Framework/Text/SlateTextRun.h | ||
virtual int32 GetTextIndexAt
(
const TSharedRef< ILayoutBlock >& Block, |
Framework/Text/SlateTextRun.h | ||
virtual FTextRange GetTextRange() |
Framework/Text/SlateTextRun.h | ||
virtual FVector2D Measure
(
int32 StartIndex, |
Framework/Text/SlateTextRun.h | ||
virtual void Move
(
const TSharedRef< FString >& NewText, |
Framework/Text/SlateTextRun.h | ||
virtual void SetTextRange
(
const FTextRange& Value |
Framework/Text/SlateTextRun.h |
Protected
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< FSlateTextRun > Create
(
const FRunInfo& InRunInfo, |
Framework/Text/SlateTextRun.h | ||
static TSharedRef< FSlateTextRun > Create
(
const FRunInfo& InRunInfo, |
Framework/Text/SlateTextRun.h |