Class OIRecognizer

Accessors

  • get mimeTypes(): string[]
  • Returns string[]

Constructors

Methods

  • Parameters

    Returns void

  • Parameters

    • strokes: OIStroke[]
    • processGestures: boolean = true

    Returns TOIMessageEvent

  • Parameters

    • strokeIds: string[]
    • angle: number
    • x0: number = 0
    • y0: number = 0

    Returns TOIMessageEvent

  • Parameters

    • strokeIds: string[]
    • scaleX: number
    • scaleY: number
    • x0: number = 0
    • y0: number = 0

    Returns TOIMessageEvent

  • Parameters

    • strokeIds: string[]
    • tx: number
    • ty: number

    Returns TOIMessageEvent

  • Returns Promise<void>

  • Returns void

  • Parameters

    • code: number
    • reason: string

    Returns Promise<void>

  • Parameters

    • evt: CloseEvent

    Returns void

  • Returns Promise<void>

  • Parameters

    • strokeIds: string[]

    Returns Promise<void>

  • Parameters

    • Optional requestedMimeTypes: string[]

    Returns Promise<TExport>

  • Returns Promise<void>

  • Returns void

  • Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Returns void

  • Parameters

    • message: MessageEvent<string>

    Returns void

  • Returns void

  • Parameters

    Returns Promise<void>

  • Parameters

    • error: string | Error

    Returns void

  • Parameters

    • oldStrokeIds: string[]
    • newStrokes: OIStroke[]

    Returns Promise<void>

  • Returns void

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • strokeIds: string[]
    • angle: number
    • x0: number = 0
    • y0: number = 0

    Returns Promise<void>

  • Parameters

    • strokeIds: string[]
    • scaleX: number
    • scaleY: number
    • x0: number = 0
    • y0: number = 0

    Returns Promise<void>

  • Parameters

    • strokeIds: string[]
    • tx: number
    • ty: number

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Returns Promise<void>

Properties

#logger: Logger = ...
addStrokeDeferred?: DeferredPromise<undefined | TOIMessageEventGesture>
clearDeferred?: DeferredPromise<void>
closeDeferred?: DeferredPromise<void>
connected: DeferredPromise<void>
contextlessGestureDeferred: Map<string, DeferredPromise<TOIMessageEventContextlessGesture>>
currentErrorCode?: string | number
currentPartId?: string
eraseStrokeDeferred?: DeferredPromise<void>
exportDeferredMap: Map<string, DeferredPromise<TExport>>
initialized: DeferredPromise<void>
pingCount: number = 0
pingWorker?: Worker
recognitionConfiguration: TRecognitionConfiguration
reconnectionCount: number = 0
redoDeferred?: DeferredPromise<void>
replaceStrokeDeferred?: DeferredPromise<void>
serverConfiguration: TServerConfiguration
sessionId?: string
socket: WebSocket
transformStrokeDeferred?: DeferredPromise<void>
undoDeferred?: DeferredPromise<void>
url: string
waitForIdleDeferred?: DeferredPromise<void>

Generated using TypeDoc