Type alias PdfHighlighterUtils Pdf Highlighter Utils : { getCurrentSelection ( ) : null | PdfSelection ; getGhostHighlight ( ) : null | GhostHighlight ; getTip ( ) : null | Tip ; getViewer ( ) : null | PDFViewer ; isEditInProgress ( ) : boolean ; isEditingOrHighlighting ( ) : boolean ; isSelectionInProgress ( ) : boolean ; removeGhostHighlight ( ) : void ; scrollToHighlight ( highlight ) : void ; setTip ( tip ) : void ; toggleEditInProgress ( flag ? ) : void ; updateTipPosition ( ) : void ; } Type declaration get Current Selection : functionget Current Selection ( ) : null | PdfSelection
current selection or null
if no selection is being made.
get Ghost Highlight : functionget Ghost Highlight ( ) : null | GhostHighlight
currently present ghost highlight or null
if non-existent.
get Tip : functionget Tip ( ) : null | Tip Returns null | Tip
the currently active tip or null
if inactive.
get Viewer : functionget Viewer ( ) : null | PDFViewer Returns null | PDFViewer
The currently active PDF Viewer.
is Edit In Progress : functionis Edit In Progress ( ) : boolean Returns boolean
true
if AreaHighlight is being edited or edit mode was set.
is Editing Or Highlighting : functionis Editing Or Highlighting ( ) : boolean Returns boolean
true
if editing, ghost highlighting, or selecting.
is Selection In Progress : functionis Selection In Progress ( ) : boolean Returns boolean
true
if mouse selection or text selection is being performed.
remove Ghost Highlight : functionremove Ghost Highlight ( ) : void Returns void scroll To Highlight : functionscroll To Highlight ( highlight ) : void Returns void set Tip : functionset Tip ( tip ) : void Returns void toggle Edit In Progress : functiontoggle Edit In Progress ( flag ? ) : void Returns void update Tip Position : functionupdate Tip Position ( ) : void Returns void
A set of utilities for to control the behaviour of PdfHighlighter.