| FCanvasItem
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/CanvasItem.h |
Include |
#include "CanvasItem.h" |
class FCanvasTextItemBase : public FCanvasItem
Base item used for drawing text
Name | Description | ||
---|---|---|---|
|
BatchedElements |
These are used by the DrawStringInternal function. Used for batching. |
|
|
bCentreX |
Centre the text in the viewport on horizontally. |
|
|
bCentreY |
Centre the text in the viewport on vertically. |
|
|
bDontCorrectStereoscopic |
Disables correction of font render issue when using stereoscopic display. |
|
|
bOutlined |
Draw an outline on the text. |
|
|
float |
Depth |
Depth sort key. |
|
DrawnSize |
The size of the drawn text after the draw call. |
|
|
FontRenderInfo |
Custom font render information. |
|
|
float |
HorizSpacingAdjust |
Horizontal spacing adjustment. |
|
OutlineColor |
The color of the outline. |
|
|
Scale |
The scale of the text |
|
|
ShadowColor |
The color of the shadow |
|
|
ShadowOffset |
The offset of the shadow. |
|
|
TileItem |
Background tile used to fixup 3d text issues. |
Name | Description | |
---|---|---|
|
FCanvasTextItemBase ( |
Name | Description | ||
---|---|---|---|
|
DisableShadow() |
Disable the shadow |
|
|
DrawStringInternal ( |
Internal string draw In a method to make it simpler to do effects like shadow, outline |
|
|
EnableShadow ( |
Set the shadow offset and color. |
|
|
ESimpleEleme... |
GetTextBlendMode ( |
Get the blend mode we should use to draw this text |
|
GetTextSize ( |
Get the measured size of the text to draw |
|
|
HasValidText() |
Does this text item have valid text to draw? |