MFTextItem Class Reference
| Inherits from | NSObject |
| Conforms to | MFOverlayDrawable |
| Declared in | MFTextItem.h |
Tasks
-
– initWithText:andHighlightPath:Default initializer. Init the Text Item with some text and a path for the hilight that will be rendered in page space.
-
– initWithText:highlightPath:andPage:Default initializer, plus the page number.
-
textSome text to be displayed along with the item.
property -
highlightPathThe path for the hilight. It is defined in page space.
property -
pageThe page of which this text item represent the position of a word.
property -
highlightColorHighlight color for the search result. Default is (1.0, 0.0, 0.0, 0.25)
property -
+ highlightRedColorA few usefult colors for the highlight. You are NOT responsible for releasing the object.
Properties
highlightColor
Highlight color for the search result. Default is (1.0, 0.0, 0.0, 0.25)
@property (nonatomic, retain) UIColor *highlightColorDiscussion
Highlight color for the search result. Default is (1.0, 0.0, 0.0, 0.25)
Declared In
MFTextItem.hhighlightPath
The path for the hilight. It is defined in page space.
@property (readonly) CGPathRef highlightPathDiscussion
The path for the hilight. It is defined in page space.
Declared In
MFTextItem.hInstance Methods
initWithText:andHighlightPath:
Default initializer. Init the Text Item with some text and a path for the hilight that will be rendered in page space.
- (id)initWithText:(NSString *)someText andHighlightPath:(CGPathRef)aPathDiscussion
Default initializer. Init the Text Item with some text and a path for the hilight that will be rendered in page space.
Declared In
MFTextItem.h