Documentation

ETTextFragment class documentation

ETTextFragment : COObject <ETText>

AuthorsGenerated by builder
Declared inETTextFragment.h

Overview

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.


Default

+ (id) fragmentWithString: (NSString *)aString
Description forthcoming.
    - (id) initWithString: (NSString *)string

    Initializes the text fragment with a string.