case class
GradientPaintScale[T](lower: T, upper: T, gradient: Array[Color] = PaintScale.WhiteToBlack)(implicit view: (T) ⇒ Double) extends PaintScale[T] with Product with Serializable
Instance Constructors
-
new
GradientPaintScale(lower: T, upper: T, gradient: Array[Color] = PaintScale.WhiteToBlack)(implicit view: (T) ⇒ Double)
Value Members
-
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
final
def
==(arg0: Any): Boolean
-
def
andThen[A](g: (Paint) ⇒ A): (T) ⇒ A
-
def
apply(value: T): Paint
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
compose[A](g: (A) ⇒ T): (A) ⇒ Paint
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
-
final
def
isInstanceOf[T0]: Boolean
-
val
lower: T
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
val
upper: T
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from (T) ⇒ Paint
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.