FArguments

Windows
MacOS
Linux

Inheritance Hierarchy

TSlateBaseNamedArgs

STextBlock::FArguments

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Text/STextBlock.h

Include

#include "Widgets/Text/STextBlock.h"

Syntax

struct FArguments : public TSlateBaseNamedArgs< STextBlock >

Constructors

Name Description

Public function

FArguments()

Functions

Name Description

Public function

WidgetArgsTy...

 

AutoWrapText

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

Whether to wrap text automatically based on the widget's computed horizontal space.

Public function

WidgetArgsTy...

 

ColorAndOpacity

(
    const TAttribute< FSlateColor >& I...
)

Text color and opacity

Public function

WidgetArgsTy...

 

Font

(
    const TAttribute< FSlateFontInfo > ...
)

Sets the font used to draw the text

Public function

WidgetArgsTy...

 

HighlightColor

(
    const TAttribute< FLinearColor >& ...
)

The color used to highlight the specified text

Public function

WidgetArgsTy...

 

HighlightShape

(
    const TAttribute< const FSlateBrush...
)

The brush used to highlight the specified text

Public function

WidgetArgsTy...

 

HighlightText

(
    const TAttribute< FText >& InAttri...
)

Highlight this text in the text block

Public function

WidgetArgsTy...

 

Justification

(
    const TAttribute< ETextJustify::Typ...
)

How the text should be aligned with the margin.

Public function

WidgetArgsTy...

 

LineBreakPolicy

(
    TSharedPtr< IBreakIterator > InArg
)

The iterator to use to detect appropriate soft-wrapping points for lines (or null to use the default)

Public function

WidgetArgsTy...

 

LineHeightPercentage

(
    const TAttribute< float >& InAttri...
)

The amount to scale each lines height by.

Public function

WidgetArgsTy...

 

Margin

(
    const TAttribute< FMargin >& InAtt...
)

The amount of blank space left around the edges of text area.

Public function

WidgetArgsTy...

 

MinDesiredWidth

(
    const TAttribute< float >& InAttri...
)

Minimum width that a text block should be

Public function

WidgetArgsTy...

 

OnDoubleClicked

(
    const FPointerEventHandler& InDele...
)

Called when this text is double clicked

Public function

WidgetArgsTy...

 

ShadowColorAndOpacity

(
    const TAttribute< FLinearColor >& ...
)

Shadow color and opacity

Public function

WidgetArgsTy...

 

ShadowOffset

(
    const TAttribute< FVector2D >& InA...
)

Drop shadow offset in pixels

Public function

WidgetArgsTy...

 

SimpleTextMode

(
    bool InArg
)

If this is enabled, text shaping, wrapping, justification are disabled in favor of much faster text layout and measurement.

Public function

WidgetArgsTy...

 

StrikeBrush

(
    const TAttribute< const FSlateBrush...
)

Sets the brush used to strike through the text

Public function

WidgetArgsTy...

 

Text

(
    const TAttribute< FText >& InAttri...
)

The text displayed in this text block

Public function

WidgetArgsTy...

 

TextFlowDirection

(
    TOptional< ETextFlowDirection > InA...
)

Which text flow direction should we use? (unset to use the default returned by GetDefaultTextFlowDirection)

Public function

WidgetArgsTy...

 

TextShapingMethod

(
    TOptional< ETextShapingMethod > InA...
)

Which text shaping method should we use? (unset to use the default returned by GetDefaultTextShapingMethod)

Public function

WidgetArgsTy...

 

TextStyle

(
    const FTextBlockStyle* InArg
)

Pointer to a style of the text block, which dictates the font, color, and shadow options.

Public function

WidgetArgsTy...

 

WrappingPolicy

(
    const TAttribute< ETextWrappingPoli...
)

The wrapping policy to use

Public function

WidgetArgsTy...

 

WrapTextAt

(
    const TAttribute< float >& InAttri...
)

Whether text wraps onto a new line when it's length exceeds this width; if this value is zero or negative, no wrapping occurs.

Typedefs

Name

Description

WidgetArgsType

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