IMEManagerBase::GetMetrics

IMEManagerBase::GetMetrics
void GetMetrics(RectF* pviewRect, RectF* pcursorRect, int cursorOffset = 0);
Description

GetMetrics returns view rectangle of currently focused text field and cursor rectangle, both in stage (root) coordinate space.

Parameters
Parameters 
Description 
RectF* pviewRect 
Pointer to the view rectangle. 
RectF* pcursorRect 
Pointer to the cursor rectangle. 
int cursorOffset = 0 
Offset value from the actual cursor position; may be negative.