• Draws a scale label text.

    Parameters

    • renderOptions: RenderOptions

      The rendering options.

    • topPadding: number

      The top padding for positioning.

    • label: string

      The label text.

    Returns fabric.Text

    A Fabric.js text object.