FCanvasShapedTextItem::GetTextSize

Get the measured size of the text to draw

Override Hierarchy

FCanvasTextItemBase::GetTextSize()

FCanvasShapedTextItem::GetTextSize()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/CanvasItem.h

Include

#include "CanvasItem.h"

Source

/Engine/Source/Runtime/Engine/Private/UserInterface/CanvasItem.cpp

Syntax

virtual FVector2D GetTextSize
(
    float DPIScale
) const

Remarks

Get the measured size of the text to draw

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel