case classGradientPaintScale[T](lower: T, upper: T, gradient: Array[Color] = PaintScale.WhiteToBlack)(implicit view: (T) ⇒ Double) extends PaintScale[T] with Product with Serializable
A simple numeric paint scale for mapping a number within a range to a
corresponding element of a pre-computed color gradient. Colors from the
given gradient array are used linearly to represent values between
lower and upper.
Linear Supertypes
Serializable, Serializable, Product, Equals, PaintScale[T], (T) ⇒ Paint, AnyRef, Any
A simple numeric paint scale for mapping a number within a range to a corresponding element of a pre-computed color gradient. Colors from the given gradient array are used linearly to represent values between lower and upper.