Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- FCanvasItem
- FCanvasTextItemBase
- FCanvasShapedTextItem
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/CanvasItem.h |
Include | #include "CanvasItem.h" |
Syntax
class FCanvasShapedTextItem : public FCanvasTextItemBase
Remarks
Text item which can handle complex shaped text.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FShapedGlyphSequencePtr | ShapedGlyphSequence | The shaped text sequence to draw |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FCanvasShapedTextItem
(
const FVector2D& InPosition, |
Text item |
Overridden from FCanvasTextItemBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | DrawStringInternal
(
FCanvas* InCanvas, |
Internal string drawIn a method to make it simpler to do effects like shadow, outline |
![]() ![]() ![]() |
ESimpleElementBlendMode | GetTextBlendMode
(
const bool bHasShadow |
Get the blend mode we should use to draw this text |
![]() ![]() ![]() |
FVector2D | GetTextSize
(
float DPIScale |
Get the measured size of the text to draw |
![]() ![]() ![]() |
bool | HasValidText () |
Does this text item have valid text to draw? |