• Draws domain tooltips for HSPs.

    Parameters

    • startHspPixels: number

      The starting pixel position for the HSP.

    • endHspPixels: number

      The ending pixel position for the HSP.

    • seq_from: number

      The starting sequence position.

    • seq_to: number

      The ending sequence position.

    • hsp: Hsp

      The HSP object containing score information.

    • renderOptions: RenderOptions

      The rendering options.

    • topPadding: number

      The top padding for positioning.

    Returns fabric.Group

    A Fabric.js group containing the tooltip.