added helper class CASTextAttributes