• Creates a generic linear gradient based on the specified color scheme.

    Parameters

    • start: number

      The starting x-coordinate of the gradient.

    • end: number

      The ending x-coordinate of the gradient.

    • colorScheme: ColorSchemeEnum

      The color scheme to use.

    Returns fabric.Gradient

    A Fabric.js gradient object.