Creates a TextAttributes, which describes a set of properties on some text.
a new TextAttributes, free with unref.