Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FTextLayout
| Name | FRunModel |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Text/TextLayout.h |
| Include Path | #include "Framework/Text/TextLayout.h" |
Syntax
class FRunModel
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRunModel
(
const TSharedRef< IRun >& InRun |
Framework/Text/TextLayout.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MeasuredRanges | TArray< FTextRange > | Framework/Text/TextLayout.h | ||
| MeasuredRangeSizes | TArray< FVector2D > | Framework/Text/TextLayout.h | ||
| Run | TSharedRef< IRun > | Framework/Text/TextLayout.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AppendTextTo
(
FString& Text |
Framework/Text/TextLayout.h | ||
void AppendTextTo
(
FString& Text, |
Framework/Text/TextLayout.h | ||
void BeginLayout() |
Framework/Text/TextLayout.h | ||
void ClearCache() |
Framework/Text/TextLayout.h | ||
TSharedRef< ILayoutBlock > CreateBlock
(
const FBlockDefinition& BlockDefine, |
Framework/Text/TextLayout.h | ||
void EndLayout() |
Framework/Text/TextLayout.h | ||
int16 GetBaseLine
(
float Scale |
Framework/Text/TextLayout.h | ||
int8 GetKerning
(
int32 CurrentIndex, |
Framework/Text/TextLayout.h | ||
int16 GetMaxHeight
(
float Scale |
Framework/Text/TextLayout.h | ||
TSharedRef< IRun > GetRun() |
Framework/Text/TextLayout.h | ||
FTextRange GetTextRange() |
Framework/Text/TextLayout.h | ||
FVector2D Measure
(
int32 BeginIndex, |
Framework/Text/TextLayout.h | ||
void SetTextRange
(
const FTextRange& Value |
Framework/Text/TextLayout.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 BinarySearchForBeginIndex
(
const TArray< FTextRange >& Ranges, |
Framework/Text/TextLayout.h | ||
static int32 BinarySearchForEndIndex
(
const TArray< FTextRange >& Ranges, |
Framework/Text/TextLayout.h |