- Companion:
- class
Type members
Classlikes
The Category10 palette from Protovis http://vis.stanford.edu/protovis/docs/color.html
The Category10 palette from Protovis http://vis.stanford.edu/protovis/docs/color.html
The Category20 palette from Protovis http://vis.stanford.edu/protovis/docs/color.html
The Category20 palette from Protovis http://vis.stanford.edu/protovis/docs/color.html
Value members
Concrete methods
Convert a color description string into a color suitable for plotting.
Convert a color description string into a color suitable for plotting.
- Value parameters:
- colorcode
A string that is a single character (like "k"), a name (like "black"), "r,g,b" or, "[r,g,b]"
Creates an array of Color objects for use as a gradient, using a linear interpolation between the two specified colors.
Creates an array of Color objects for use as a gradient, using a linear interpolation between the two specified colors.
- Value parameters:
- numSteps
The number of steps in the gradient. 250 is a good number.
- one
Color used for the bottom of the gradient
- two
Color used for the top of the gradient
Creates an array of Color objects for use as a gradient, using an array of Color objects. It uses a linear interpolation between each pair of points.
Creates an array of Color objects for use as a gradient, using an array of Color objects. It uses a linear interpolation between each pair of points.
- Value parameters:
- colors
An array of Color objects used for the gradient. The Color at index 0 will be the lowest color.
- numSteps
The number of steps in the gradient. 250 is a good number.
Concrete fields
Produces a gradient from black (low) to white (high)
Produces a gradient from black (low) to white (high)
Produces a gradient through green, yellow, orange, red
Produces a gradient through green, yellow, orange, red
Produces a different gradient for hot things (black, brown, orange, white)
Produces a different gradient for hot things (black, brown, orange, white)
Produces a gradient for hot things (black, red, orange, yellow, white)
Produces a gradient for hot things (black, red, orange, yellow, white)
Produces a gradient using the University of Minnesota's school colors, from maroon (low) to gold (high)
Produces a gradient using the University of Minnesota's school colors, from maroon (low) to gold (high)
Produces a gradient through the rainbow: violet, blue, green, yellow, orange, red
Produces a gradient through the rainbow: violet, blue, green, yellow, orange, red
Produces a gradient from red (low) to green (high)
Produces a gradient from red (low) to green (high)
Implicits
Implicits
Creates a GradientPaintScale automatically for the given range.
Creates a GradientPaintScale automatically for the given range.