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.
-
text
Some text to be displayed along with the item.
property -
highlightPath
The path for the hilight. It is defined in page space.
property -
page
The page of which this text item represent the position of a word.
property -
highlightColor
Highlight color for the search result. Default is (1.0, 0.0, 0.0, 0.25)
property -
+ highlightRedColor
A 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 *highlightColor
Discussion
Highlight color for the search result. Default is (1.0, 0.0, 0.0, 0.25)
Declared In
MFTextItem.h
highlightPath
The path for the hilight. It is defined in page space.
@property (readonly) CGPathRef highlightPath
Discussion
The path for the hilight. It is defined in page space.
Declared In
MFTextItem.h
Instance 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)aPath
Discussion
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