Creates a new empty distribution.
Creates a new distribution that returns a constant color.
Creates a new distribution that returns a random color in the specified range.
Creates a new distribution that evaluates a color gradient.
Creates a new distribution that returns a random color in a range determined by two gradients.
Returns 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.