horizontalGradient
Creates a ShaderProvider that produces a horizontal gradient.
Creates a ShaderProvider that produces a horizontal gradient. positions specifies the color-stop offsets (between 0 and 1), with null giving an even distribution.