object PaintScale
- Alphabetic
- By Inheritance
- PaintScale
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
BlackToWhite: Array[Color]
Produces a gradient from black (low) to white (high)
-
lazy val
BlueToRed: Array[Color]
Produces a gradient from blue (low) to red (high)
-
lazy val
GreenYelloOrangeRed: Array[Color]
Produces a gradient through green, yellow, orange, red
-
lazy val
Heat: Array[Color]
Produces a different gradient for hot things (black, brown, orange, white)
-
lazy val
Hot: Array[Color]
Produces a gradient for hot things (black, red, orange, yellow, white)
-
lazy val
MaroonToGold: Array[Color]
Produces a gradient using the University of Minnesota's school colors, from maroon (low) to gold (high)
-
lazy val
Rainbow: Array[Color]
Produces a gradient through the rainbow: violet, blue, green, yellow, orange, red
-
lazy val
RedOrangeYellow: Array[Color]
Produces a gradient through red, orange, yellow
-
lazy val
RedToGreen: Array[Color]
Produces a gradient from red (low) to green (high)
-
lazy val
WhiteToBlack: Array[Color]
Produces a gradient from white (low) to black (high)
- val aliceblue: Color
- val antiquewhite: Color
- val aqua: Color
- val aquamarine: Color
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val azure: Color
- val beige: Color
- val bisque: Color
- val black: Color
- val blanchedalmond: Color
- val blue: Color
- val blueviolet: Color
- val brown: Color
- val burlywood: Color
- val cadetblue: Color
- val chartreuse: Color
- val chocolate: Color
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
convertToColor(colorcode: String): Color
Convert a color description string into a color suitable for plotting.
Convert a color description string into a color suitable for plotting.
- colorcode
A string that is a single character (like "k"), a name (like "black"), "r,g,b" or, "[r,g,b]"
- val coral: Color
- val cornflowerblue: Color
- val cornsilk: Color
-
def
createGradient(one: Color, two: Color, numSteps: Int): Array[Color]
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.
From http://www.mbeckler.org/heatMap/heatMap.html
- one
Color used for the bottom of the gradient
- two
Color used for the top of the gradient
- numSteps
The number of steps in the gradient. 250 is a good number.
-
def
createMultiGradient(colors: Array[Color], numSteps: Int): Array[Color]
Creates an array of Color objects for use as a gradient, using an array of Color objects.
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.
From http://www.mbeckler.org/heatMap/heatMap.html
- 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.
- val crimson: Color
- val cyan: Color
- val darkblue: Color
- val darkcyan: Color
- val darkgoldenrod: Color
- val darkgray: Color
- val darkgreen: Color
- val darkgrey: Color
- val darkkhaki: Color
- val darkmagenta: Color
- val darkolivegreen: Color
- val darkorange: Color
- val darkorchid: Color
- val darkred: Color
- val darksalmon: Color
- val darkseagreen: Color
- val darkslateblue: Color
- val darkslategray: Color
- val darkslategrey: Color
- val darkturquoise: Color
- val darkviolet: Color
- val deeppink: Color
- val deepskyblue: Color
- val dimgray: Color
- val dimgrey: Color
- val dodgerblue: Color
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val firebrick: Color
- val floralwhite: Color
- val forestgreen: Color
- val fuchsia: Color
- val gainsboro: Color
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val ghostwhite: Color
- val gold: Color
- val goldenrod: Color
-
implicit
def
gradientTuple[T](vLowerUpper: (T, T))(implicit view: Conversion[T, Double]): GradientPaintScale[T]
Creates a GradientPaintScale automatically for the given range.
- val gray: Color
- val green: Color
- val greenyellow: Color
- val grey: Color
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val honeydew: Color
- val hotpink: Color
- val indianred: Color
- val indigo: Color
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val ivory: Color
- val khaki: Color
- val lavender: Color
- val lavenderblush: Color
- val lawngreen: Color
- val lemonchiffon: Color
- val lightblue: Color
- val lightcoral: Color
- val lightcyan: Color
- val lightgoldenrodyellow: Color
- val lightgray: Color
- val lightgreen: Color
- val lightgrey: Color
- val lightpink: Color
- val lightsalmon: Color
- val lightseagreen: Color
- val lightskyblue: Color
- val lightslategray: Color
- val lightslategrey: Color
- val lightsteelblue: Color
- val lightyellow: Color
- val lime: Color
- val limegreen: Color
- val linen: Color
-
implicit
def
literalColorMap[T](map: PartialFunction[T, Paint]): CategoricalPaintScale[T]
Creates a CategoricalPaintScale from the provided partial function.
- val magenta: Color
- val maroon: Color
- val mediumaquamarine: Color
- val mediumblue: Color
- val mediumorchid: Color
- val mediumpurple: Color
- val mediumseagreen: Color
- val mediumslateblue: Color
- val mediumspringgreen: Color
- val mediumturquoise: Color
- val mediumvioletred: Color
- val midnightblue: Color
- val mintcream: Color
- val mistyrose: Color
- val moccasin: Color
-
val
nanPaint: TexturePaint
For painting NaN.
- val navajowhite: Color
- val navy: Color
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val oldlace: Color
- val olive: Color
- val olivedrab: Color
- val orange: Color
- val orangered: Color
- val orchid: Color
- val palegoldenrod: Color
- val palegreen: Color
- val paleturquoise: Color
- val palevioletred: Color
- val papayawhip: Color
- val peachpuff: Color
- val peru: Color
- val pink: Color
- val plum: Color
- val powderblue: Color
- val purple: Color
- val red: Color
- val rosybrown: Color
- val royalblue: Color
- val saddlebrown: Color
- val salmon: Color
- val sandybrown: Color
- val seagreen: Color
- val seashell: Color
- val sienna: Color
- val silver: Color
- val skyblue: Color
- val slateblue: Color
- val slategray: Color
- val slategrey: Color
- val snow: Color
- val springgreen: Color
- val steelblue: Color
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tan: Color
- val teal: Color
- val thistle: Color
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val tomato: Color
- val transparent: Color
- val turquoise: Color
- val violet: Color
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val wheat: Color
- val white: Color
- val whitesmoke: Color
- val yellow: Color
- val yellowgreen: Color
-
object
Category10
The Category10 palette from Protovis http://vis.stanford.edu/protovis/docs/color.html
-
object
Category20
The Category20 palette from Protovis http://vis.stanford.edu/protovis/docs/color.html