Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Text
Inheritance Hierarchy
- ILineHighlighter
- ISlateLineHighlighter
- ISlateTextLineHighlighter
- FSlateTextStrikeLineHighlighter
- FSlateTextUnderlineLineHighlighter
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Text/SlateTextUnderlineLineHighlighter.h |
| Include | #include "Framework/Text/SlateTextUnderlineLineHighlighter.h" |
Syntax
class ISlateTextLineHighlighter : public ISlateLineHighlighter
Remarks
Run highlighter used to draw lines
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSlateColor | ColorAndOpacity | The color to draw the underline (typically matches the text its associated with) | |
| FSlateFontInfo | FontInfo | Font the underline is associated with | |
| FSlateBrush | LineBrush | Brush used to draw the line | |
| FLinearColor | ShadowColorAndOpacity | The color to draw the shadow | |
| UE::Slate::FDeprecateVector2DResult | ShadowOffset | Offset at which to draw the shadow (if any) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
ISlateTextLineHighlighter
(
const FSlateBrush& InLineBrush, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetLineMetrics
(
const float InFontScale, |
Overridden from ISlateLineHighlighter
| Type | Name | Description | |
|---|---|---|---|
| int32 | OnPaint
(
const FPaintArgs& Args, |
Constants
| Name | Description |
|---|---|
| DefaultZIndex |