public int GetCharacterIndexAt(Vector2 position) { validate(); return(textLayout.GetCharacterIndexAt(position * scaling)); }