Reader View Annotation
A ReaderViewAnnotation can either reference a range of publication content or a position (point) within publication content. ReaderViewAnnotations are rendered inside a ReaderViewAnnotationLayer, which in turn is rendered on top of publication content.
When an annotation is rendered, a container element is created. The container element dimensions and position is calculated from the bounding box encapsulating all referenced content.
Both range and position annotations, as well as their containers can be styled separately using CSS. You can also attach custom data to each ReaderViewAnnotation instance.
Properties
If the content this annotation references is intersecting ReaderView.visibleRange. Use ReaderViewAnnotationLayer.addOnAnnotationIntersectsVisibleRangeChangedListener to detect when this value changes.
Gets/sets options for this annotation to be used instead of ReaderViewAnnotationLayer.defaultAnnotationOptions.