Abstraction for displaying text