code: private static TextDecoration  parseTextDecoration(String val)
     {
        switch (val)
        {
           case NONE:           return Style.TextDecoration.None;
           case "underline":    return Style.TextDecoration.Underline;
           case "overline":     return Style.TextDecoration.Overline;
           case "line-through": return Style.TextDecoration.LineThrough;
           case "blink":        return Style.TextDecoration.Blink;
           default:             return null;
        }
     }
docs: Parse a text decoration keyword