Packages

object Color

A general color class and constructor

Source
color.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Color
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class HCL(vec: Vec, a: Int = 0) extends Product with Serializable

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. val Black: Color
  5. val Blue: Color
  6. val Brown: Color
  7. val Charcoal: Color
  8. val Cyan: Color
  9. val Green: Color
  10. val Grey: Color
  11. val Magenta: Color
  12. val Orange: Color
  13. val Pink: Color
  14. val Purple: Color
  15. val Red: Color
  16. val Transparent: Color
  17. val White: Color
  18. val Yellow: Color
  19. lazy val ansi16: Map[Color, String]
  20. lazy val ansi8: Map[Color, String]
  21. def apply(argb: Int): Color
  22. def apply(str: String): Color
  23. def argb(argb: Int): Color
  24. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  25. lazy val cat10: Vector[Color]
  26. lazy val cat20: Vector[Color]
  27. lazy val cat20b: Vector[Color]
  28. lazy val cat20c: Vector[Color]
  29. lazy val catColorNames: Map[String, Color]
  30. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  31. lazy val cssColorNames: Map[String, Color]
  32. lazy val drxColorNames: Map[String, Color]
  33. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  35. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  36. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  37. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. lazy val inferno: Vector[Color]
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. lazy val magma: Vector[Color]
  41. lazy val maps: Map[String, Vector[Color]]

    "perceptually uniform" colormaps https://github.com/d3/d3-scale https://raw.githubusercontent.com/d3/d3-scale/master/src/viridis.js https://bids.github.io/colormap/ https://github.com/BIDS/colormap/blob/master/colormaps.py

  42. def mix(colors: Iterable[Color]): Color
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  46. lazy val plasma: Vector[Color]
  47. lazy val q1c24: Vector[Color]
  48. lazy val q1c8: Vector[Color]
  49. lazy val q1c9: Vector[Color]
  50. def rgb(rgb: Int): Color
  51. def rgb(rgb: Int, a: Int): Color
  52. def rgb(r: Int, g: Int, b: Int, a: Int): Color
  53. def rgb(r: Int, g: Int, b: Int): Color
  54. def rgba(rgba: Int): Color
  55. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  56. def toString(): String
    Definition Classes
    AnyRef → Any
  57. lazy val viridis: Vector[Color]
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  60. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  61. object HCL extends Serializable
  62. implicit object ParsableColor extends Parsable[Color]

Deprecated Value Members

  1. def catColor(i: Int): Color
    Annotations
    @deprecated
    Deprecated

    (Since version v0.1.20) use the more general and clear cat20 % i instead

Inherited from AnyRef

Inherited from Any

Ungrouped