Support alignment enumeration for drawTextAt().