object ColorRamp extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ColorRamp
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(colors: Int*)(implicit d: DummyImplicit): ColorRamp
  5. def apply(colors: Traversable[Int]): ColorRamp
  6. def apply(colors: Array[Int]): ColorRamp
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def chooseColors(c: Vector[Int], numColors: Int): Vector[Int]

    RGBA interpolation logic

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. implicit def colorRampToIntArray(colorRamp: ColorRamp): Array[Int]
  11. implicit def colorRampToIntVector(colorRamp: ColorRamp): Vector[Int]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. implicit def intArrayToColorRamp(colors: Array[Int]): ColorRamp
  18. implicit def intVectorToColorRamp(colors: Vector[Int]): ColorRamp
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def spread(colors: Vector[Int], n: Int): Vector[Int]

    This method will return a smaller list of colors the provided list of colors, spaced out amongst the provided color list.

    This method will return a smaller list of colors the provided list of colors, spaced out amongst the provided color list. Used internally for normalization

    For example, if we are provided a list of 9 colors on a red to green gradient, but only need a list of 3, we expect to get back a list of 3 colors with the first being red, the second color being the 5th color (between red and green), and the last being green.

    colors

    Provided RGBA color values

    n

    Length of list to return

  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped