code: protected void setTextDecoration(List<TextDecoration> newTextDecoration)
      {
          if (textDecoration == null || !textDecoration.equals(newTextDecoration))
          {
              textDecoration = newTextDecoration;
              reflectTextDecoration(textDecoration);
              invalidateCache();
          }
  
      }
docs: Sets the text decoration.
  
  @param newTextDecoration
  the new text decoration