- Declared in:
- ETTextFragment.h
- Conforms to:
- ETText
A text fragment is a leaf node in a structured text tree. It contains a run of characters, a style, and optionally some presentation attributes that will override those assigned by the style.
Note that a text fragment may contain an empty string. This may be used by subclasses to store references to external resources and other things that would require a special character in NSAttributedString.
Initializes the text fragment with a string.