Exposes drawTextElement method