![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateTextUnderlineLineHighlighter.h>
Inheritance diagram for ISlateTextLineHighlighter:Public Member Functions | |
| virtual SLATE_API int32 | OnPaint (const FPaintArgs &Args, const FTextLayout::FLineView &Line, const FVector2D Offset, const float Width, const FTextBlockStyle &DefaultStyle, const FGeometry &AllottedGeometry, const FSlateRect &MyCullingRect, FSlateWindowElementList &OutDrawElements, int32 LayerId, const FWidgetStyle &InWidgetStyle, bool bParentEnabled) const override |
Public Member Functions inherited from ISlateLineHighlighter | |
| virtual | ~ISlateLineHighlighter () |
| UE_DEPRECATED (5.6, "Please use OnPaint with Offset (FVector2D) instead of OffsetX (float).") virtual int32 OnPaint(const FPaintArgs &Args | |
Public Member Functions inherited from ILineHighlighter | |
| virtual | ~ILineHighlighter () |
Static Public Attributes | |
| static const int32 | DefaultZIndex = 1 |
Protected Member Functions | |
| SLATE_API | ISlateTextLineHighlighter (const FSlateBrush &InLineBrush, const FSlateFontInfo &InFontInfo, const FSlateColor InColorAndOpacity, const UE::Slate::FDeprecateVector2DParameter InShadowOffset, const FLinearColor InShadowColorAndOpacity) |
| virtual void | GetLineMetrics (const float InFontScale, int16 &OutLinePos, int16 &OutLineThickness) const =0 |
Protected Attributes | |
| FSlateBrush | LineBrush |
| FSlateFontInfo | FontInfo |
| FSlateColor | ColorAndOpacity |
| UE::Slate::FDeprecateVector2DResult | ShadowOffset |
| FLinearColor | ShadowColorAndOpacity |
Run highlighter used to draw lines
|
protected |
|
protectedpure virtual |
Implemented in FSlateTextUnderlineLineHighlighter, and FSlateTextStrikeLineHighlighter.
|
overridevirtual |
Implements ISlateLineHighlighter.
|
protected |
The color to draw the underline (typically matches the text its associated with)
|
static |
|
protected |
Font the underline is associated with
|
protected |
Brush used to draw the line
|
protected |
The color to draw the shadow
|
protected |
Offset at which to draw the shadow (if any)