Inherits from NSObject
Conforms to MFOverlayDrawable
Declared in MFTextItem.h

Tasks

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

page

The page of which this text item represent the position of a word.

@property (readonly) NSUInteger page

Discussion

The page of which this text item represent the position of a word.

Declared In

MFTextItem.h

text

Some text to be displayed along with the item.

@property (readonly) NSString *text

Discussion

Some text to be displayed along with the item.

Declared In

MFTextItem.h

Class Methods

highlightRedColor

A few usefult colors for the highlight. You are NOT responsible for releasing the object.

+ (UIColor *)highlightRedColor

Discussion

A few usefult colors for the highlight. You are NOT responsible for releasing the object.

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

initWithText:highlightPath:andPage:

Default initializer, plus the page number.

- (id)initWithText:(NSString *)someText highlightPath:(CGPathRef)aPath andPage:(NSUInteger)aPage

Discussion

Default initializer, plus the page number.

Declared In

MFTextItem.h