• Draws a domain checkbox.

    Parameters

    • renderOptions: RenderOptions

      The rendering options.

    • topPadding: number

      The top padding for positioning.

    • leftPadding: number

      The left padding for positioning.

    • currentDomainDatabase: string

      The current domain database.

    Returns [fabric.Rect, fabric.Text, RectType, TextType]

    A tuple containing the Fabric.js rectangle and text objects and their types.