YLLinkAnnotationView Class Reference
Inherits from | UIView |
Conforms to | YLAnnotationView |
Declared in | YLLinkAnnotationView.h YLLinkAnnotationView.m |
Tasks
Other Methods
-
borderColor
Border color of the button representing the link annotation. Default color is [UIColor colorWithWhite:0.8 alpha:1.0].
property -
tapColor
Highlight color of the button representing the link annotation. Default color is [UIColor colorWithWhite:0.2 alpha:0.5].
property -
borderRadius
Radius of the button representing the link annotation. Default value is 4.
property -
type
Type of the link annotation view.
property -
delegate
Delegate to inform about tap events on the button representing the link annotation.
property
Other Methods
-
– setPdfViewController:
Weak reference to parent YLPDFViewController.
-
– setAnnotation:
The annotation object represented by this view.
-
– didShowPage:
Called when page is shown.
-
– willHidePage:
Called when page is hidden.
Properties
borderColor
Border color of the button representing the link annotation. Default color is [UIColor colorWithWhite:0.8 alpha:1.0].
@property (nonatomic, retain) UIColor *borderColor
Discussion
Border color of the button representing the link annotation. Default color is [UIColor colorWithWhite:0.8 alpha:1.0].
Declared In
YLLinkAnnotationView.h
borderRadius
Radius of the button representing the link annotation. Default value is 4.
@property (nonatomic, assign) CGFloat borderRadius
Discussion
Radius of the button representing the link annotation. Default value is 4.
Declared In
YLLinkAnnotationView.h
delegate
Delegate to inform about tap events on the button representing the link annotation.
@property (nonatomic, assign) NSObject<YLLinkAnnotationViewDelegate> *delegate
Discussion
Delegate to inform about tap events on the button representing the link annotation.
Declared In
YLLinkAnnotationView.h
tapColor
Highlight color of the button representing the link annotation. Default color is [UIColor colorWithWhite:0.2 alpha:0.5].
@property (nonatomic, retain) UIColor *tapColor
Discussion
Highlight color of the button representing the link annotation. Default color is [UIColor colorWithWhite:0.2 alpha:0.5].
Declared In
YLLinkAnnotationView.h
Instance Methods
didShowPage:
Called when page is shown.
- (void)didShowPage:(NSUInteger)page
Parameters
- page
Page number starting from 0.
Discussion
Called when page is shown.
Declared In
YLAnnotationView.h
setAnnotation:
The annotation object represented by this view.
- (void)setAnnotation:(YLAnnotation *)annotation
Discussion
The annotation object represented by this view.
Declared In
YLAnnotationView.h
setPdfViewController:
Weak reference to parent YLPDFViewController.
- (void)setPdfViewController:(YLPDFViewController *)pdfViewController
Discussion
Weak reference to parent YLPDFViewController.
Declared In
YLAnnotationView.h