• Draws domain rectangles for query and subject regions.

    Parameters

    • startQueryPixels: number

      The starting pixel position for the query domain.

    • endQueryPixels: number

      The ending pixel position for the query domain.

    • startSubjPixels: number

      The starting pixel position for the subject domain.

    • endSubjPixels: number

      The ending pixel position for the subject domain.

    • topPadding: number

      The top padding for positioning.

    • fill: string

      The fill color for the domain rectangles.

    Returns [fabric.Rect, fabric.Rect]

    A tuple containing the Fabric.js rectangle objects.