Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SearchResult

Index

Methods

getEndCharIndex

  • getEndCharIndex(): Promise<number>
  • Get the index of the last character of current match pattern, based on current match page.

    see

    searchResult

    Returns Promise<number>

    number

getPageIndex

  • getPageIndex(): Promise<number>
  • Get the page index, to which current match belongs.

    see

    searchResult

    Returns Promise<number>

    number

getRects

  • getRects(): Promise<Rect[]>
  • Get the rectangles of current match pattern.

    see

    searchResult

    Returns Promise<Rect[]>

    Array[rect]

getSentence

  • getSentence(): Promise<string>
  • Get the sentence that contains current match pattern.

    see

    searchResult

    Returns Promise<string>

    string

getSentenceStartIndex

  • getSentenceStartIndex(): Promise<number>
  • Get the index of the first character of current match pattern, based on the match sentence.

    see

    searchResult

    Returns Promise<number>

    number

getStartCharIndex

  • getStartCharIndex(): Promise<number>
  • Get the index of the first character of current match pattern, based on current match page.

    see

    searchResult

    Returns Promise<number>

    number