FTextLayoutSize

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Text/TextLayout.h

Include

#include "Framework/Text/TextLayout.h"

Syntax

struct FTextLayoutSize

Variables

Name Description

Public variable

float

 

DrawWidth

Width of the text layout, including any lines which extend beyond the wrapping boundaries (eg, lines with lots of trailing whitespace, or lines with no break candidates)

Public variable

float

 

Height

Height of the text layout

Public variable

float

 

WrappedWidth

Width of the text layout after the text has been wrapped, and including the first piece of trailing whitespace for any given soft-wrapped line

Constructors

Name Description

Public function

FTextLayoutSize()

Functions

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