TextView.getDefaultAttributes

Obtains a copy of the default text attributes. These are the attributes used for text unless a tag overrides them. You’d typically pass the default attributes in to TextIter.getAttributes in order to get the attributes in effect at a given text position.

The return value is a copy owned by the caller of this function, and should be freed with TextAttributes.unref.

class TextView
getDefaultAttributes
()

Return Value