Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h |
Include |
#include "Engine/Canvas.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
Calculate the length of a string, taking text wrapping into account.
Parameter |
Description |
---|---|
InFont |
The Font use. |
Text |
The string to calculate for. |
XL |
out Horizontal length of string. |
YL |
out Vertical length of string. |
bDPUAware |
If true measures text considering the current DPI scale factor of the canvas. Defaults to false for backwards compatibility |