![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateTypes.h>
Inheritance diagram for FTextBlockStyle:Classes | |
| struct | CompareParams |
Static Public Member Functions | |
| static SLATECORE_API const FTextBlockStyle & | GetDefault () |
Static Public Attributes | |
| static SLATECORE_API const FName | TypeName |
Represents the appearance of an STextBlock
| FTextBlockStyle::FTextBlockStyle | ( | ) |
|
default |
|
virtualdefault |
|
static |
|
overridevirtual |
Gets the brush resources associated with this style.
This method must be implemented by inherited structures.
| OutBrushes | The brush resources. |
Reimplemented from FSlateWidgetStyle.
Gets the name of this style.
This method must be implemented by inherited structures.
Reimplemented from FSlateWidgetStyle.
|
inline |
Checks to see whether this style is identical to another.
|
inline |
Checks to see whether this style is identical to another.
|
inline |
| FTextBlockStyle & FTextBlockStyle::SetFont | ( | const ANSICHAR * | InFontName, |
| float | InSize | ||
| ) |
| PRAGMA_DISABLE_DEPRECATION_WARNINGS FTextBlockStyle & FTextBlockStyle::SetFont | ( | const FName & | InFontName, |
| float | InSize | ||
| ) |
|
inline |
| FTextBlockStyle & FTextBlockStyle::SetFont | ( | const FString & | InFontName, |
| float | InSize | ||
| ) |
|
inline |
| FTextBlockStyle & FTextBlockStyle::SetFont | ( | const WIDECHAR * | InFontName, |
| float | InSize | ||
| ) |
|
inline |
|
inline |
| FTextBlockStyle & FTextBlockStyle::SetFontName | ( | const ANSICHAR * | InFontName | ) |
| FTextBlockStyle & FTextBlockStyle::SetFontName | ( | const FName & | InFontName | ) |
| FTextBlockStyle & FTextBlockStyle::SetFontName | ( | const FString & | InFontName | ) |
| FTextBlockStyle & FTextBlockStyle::SetFontName | ( | const WIDECHAR * | InFontName | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Unlinks all colors in this style.
| FSlateColor FTextBlockStyle::ColorAndOpacity |
The color and opacity of this text
| FSlateFontInfo FTextBlockStyle::Font |
Font family and size to be used when displaying this text.
| FSlateColor FTextBlockStyle::HighlightColor |
The color of highlighted text
| FSlateBrush FTextBlockStyle::HighlightShape |
The shape of highlighted text
| ETextOverflowPolicy FTextBlockStyle::OverflowPolicy |
Determines what happens to text that is clipped and doesn't fit within the clip rect of a text widget
| FSlateColor FTextBlockStyle::SelectedBackgroundColor |
The background color of selected text
| FLinearColor FTextBlockStyle::ShadowColorAndOpacity |
The color and opacity of the shadow
| FDeprecateSlateVector2D FTextBlockStyle::ShadowOffset |
How much should the shadow be offset? An offset of 0 implies no shadow.
| FSlateBrush FTextBlockStyle::StrikeBrush |
The brush used to draw an strike through the text (if any)
| ETextTransformPolicy FTextBlockStyle::TransformPolicy |
The Text Transform Policy (defaults to None)
|
static |
| FSlateBrush FTextBlockStyle::UnderlineBrush |
The brush used to draw an underline under the text (if any)