• Adds mousedown event to a fabric object to toggle a domain tooltip.

    Parameters

    • fabricObj: Object

      The fabric object to attach the event to.

    • startPixels: number

      The starting pixel position.

    • endPixels: number

      The ending pixel position.

    • seq_from: number

      The starting sequence position.

    • seq_to: number

      The ending sequence position.

    • domain: Hsp | IprMatchFlat

      The domain object (Hsp or IprMatchFlat).

    • renderOptions: RenderOptions

      The rendering options.

    • _this: any

      The context (VisualOutput or FunctionalPredictions).

    Returns void