Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
Inheritance Hierarchy
- FSlateWidgetStyle
- FTextBlockStyle
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include | #include "Styling/SlateTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FTextBlockStyle : public FSlateWidgetStyle
Remarks
Represents the appearance of an STextBlock
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSlateColor | ColorAndOpacity | The color and opacity of this text | |
| FSlateFontInfo | Font | Font family and size to be used when displaying this text. | |
| FSlateColor | HighlightColor | The color of highlighted text | |
| FSlateBrush | HighlightShape | The shape of highlighted text | |
| ETextOverflowPolicy | OverflowPolicy | Determines what happens to text that is clipped and doesn't fit within the clip rect of a text widget | |
| FSlateColor | SelectedBackgroundColor | The background color of selected text | |
| FLinearColor | ShadowColorAndOpacity | The color and opacity of the shadow | |
| FDeprecateSlateVector2D | ShadowOffset | How much should the shadow be offset? An offset of 0 implies no shadow. | |
| FSlateBrush | StrikeBrush | The brush used to draw an strike through the text (if any) | |
| ETextTransformPolicy | TransformPolicy | The Text Transform Policy (defaults to None) | |
| FSlateBrush | UnderlineBrush | The brush used to draw an underline under the text (if any) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTextBlockStyle
(
const FTextBlockStyle& |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
Overridden from FSlateWidgetStyle
| Type | Name | Description | |
|---|---|---|---|
| void | GetResources
(
TArray< const FSlateBrush* >& OutBrushes |
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. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| CompareParams | Helper struct to compare two text styles without constructing a temporary text style |
Constants
| Name | Description |
|---|---|
| TypeName |