Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

Bounds: { height: number; left: number; top: number; width: number }

Type declaration

  • height: number
  • left: number
  • top: number
  • width: number
Point: { X: number; Y: number }

Type declaration

  • X: number
  • Y: number
Rectangle: { Max: Point; Min: Point }

Type declaration

Functions

  • compareHash(hashA: string, hashB: string): Promise<number>
  • hash(bounds: Bounds, sensitivity: number, hashType?: HashType): Promise<string>
  • listenHash(bounds: Bounds, threshold: number, delayMs: number, sensitivity: number, hashType: HashType, callback: (distance: number) => void): Promise<Cancellable>
  • Parameters

    • bounds: Bounds
    • threshold: number
    • delayMs: number
    • sensitivity: number
    • hashType: HashType
    • callback: (distance: number) => void
        • (distance: number): void
        • Parameters

          • distance: number

          Returns void

    Returns Promise<Cancellable>

  • listenPixelDiff(bounds: Bounds, threshold: number, delayMs: number, callback: (difference: number) => void): Promise<Cancellable>
  • Parameters

    • bounds: Bounds
    • threshold: number
    • delayMs: number
    • callback: (difference: number) => void
        • (difference: number): void
        • Parameters

          • difference: number

          Returns void

    Returns Promise<Cancellable>

  • listenPixelDiffActiveWindow(threshold: number, delayMs: number, callback: (difference: number) => void): Promise<Cancellable>
  • Parameters

    • threshold: number
    • delayMs: number
    • callback: (difference: number) => void
        • (difference: number): void
        • Parameters

          • difference: number

          Returns void

    Returns Promise<Cancellable>

  • ocrFileEncoded(encodedFileString: string): Promise<OCRResult[]>

Generated using TypeDoc