Creates a new distribution that returns a constant color.
Optionaloptions: Options object for the function call.
OptionalisInternalConstructor: booleanReturns the type of the represented distribution.
Returns the curve representing the second gradient of a gradient range. Only defined if the distribution represents a gradient range.
Returns the gradient representing the distribution, or the first gradient representing a gradient range. Undefined if the distribution is represented by a constant or a non-gradient range.
Specifies a color as a distribution, which can include a constant color, random color range or a color gradient.