Choose your operating system:
Windows
macOS
Linux
| FSlateWidgetStyle
|
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
Include |
#include "Styling/SlateTypes.h" |
struct FTextBlockStyle : public FSlateWidgetStyle
Represents the appearance of an STextBlock
Name | Description | ||
---|---|---|---|
|
ColorAndOpacity |
The color and opacity of this text |
|
|
Font |
Font family and size to be used when displaying this text. |
|
|
HighlightColor |
The color of highlighted text |
|
|
HighlightShape |
The shape of highlighted text |
|
|
OverflowPolicy |
Determines what happens to text that is clipped and doesn't fit within the clip rect of a text widget |
|
|
SelectedBackgroundColor |
The background color of selected text |
|
|
ShadowColorAndOpacity |
The color and opacity of the shadow |
|
|
ShadowOffset |
How much should the shadow be offset? An offset of 0 implies no shadow. |
|
|
StrikeBrush |
The brush used to draw an strike through the text (if any) |
|
|
TransformPolicy |
The Text Transform Policy (defaults to None) |
|
|
UnderlineBrush |
The brush used to draw an underline under the text (if any) |
Name | Description | |
---|---|---|
|
FTextBlockStyle() |
Name | Description | |
---|---|---|
|
~FTextBlockStyle() |
Name | Description | ||
---|---|---|---|
|
GetResources ( |
Gets the brush resources associated with this style. |
|
|
const FName |
GetTypeName() |
Gets the name of this style. This method must be implemented by inherited structures. |
Name |
Description |
---|---|
TypeName |