Navigation
Unreal Engine C++ API Reference > Runtime > ApplicationCore > GenericPlatform > ITextInputMethodContext
References
Module | ApplicationCore |
Header | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/ITextInputMethodSystem.h |
Include | #include "GenericPlatform/ITextInputMethodSystem.h" |
bool GetTextBounds
(
const uint32 InBeginIndex,
const uint32 InLength,
FVector2D & OutPosition,
FVector2D & OutSize
)
Remarks
Measures the screen-space bounds of the text in the specified range of code points. True if the specified range of code points is drawn clipped. False otherwise.
Parameters
Name | Description |
---|---|
InBeginIndex | The code point index at the beginning of the range to measure. |
InLength | The number of code points to measure after the beginning index. |
OutPosition | The screen-space position of the top-left bound of the specified range of code points. |
OutSize | The screen-space size of the of the specified range of code points. |