PaintScale

sealed trait PaintScale[T] extends T => Paint

Maps items of type T to a well defined Paint (usually a color).

An implicit conversion exists to make a singleton PaintScaleFactory from a PaintScale instance, which means that PaintScales can be provided directly whenever a PaintScaleFactory is required.

Companion:
object
trait T => Paint
class Object
trait Matchable
class Any

Value members

Inherited methods

def andThen[A](g: Paint => A): T => A
Inherited from:
Function1
def apply(v1: T): Paint
Inherited from:
Function1
def compose[A](g: A => T): A => Paint
Inherited from:
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1