class ColorRamp extends Serializable

A ColorRamp represents a sequence of RGBA color values

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

Instance Constructors

  1. new ColorRamp(colors: Vector[Int])

Value Members

  1. val colors: Vector[Int]
  2. def numStops: Int
  3. def setAlpha(alphaPct: Double): ColorRamp

    Set a uniform alpha value for all contained colors

  4. def setAlpha(a: Int): ColorRamp

    Set a uniform alpha value for all contained colors

  5. def setAlphaGradient(start: Int = 0, stop: Int = 0xFF): ColorRamp

    Transform this instances colors such that the transformed colors sit along an alpha gradient.

    Transform this instances colors such that the transformed colors sit along an alpha gradient.

    start

    An integer whose last two bytes are the alpha value at the start of the gradient (default 0)

    stop

    An integer whose last two bytes are the alpha value at the end of the gradient (default 255)

  6. def stops(requestedNumStops: Int): ColorRamp
  7. def toColorMap(histogram: histogram.Histogram[Double], options: Options)(implicit d: DummyImplicit): ColorMap
  8. def toColorMap(histogram: histogram.Histogram[Double])(implicit d: DummyImplicit): ColorMap
  9. def toColorMap(histogram: histogram.Histogram[Int], options: Options): ColorMap
  10. def toColorMap(histogram: histogram.Histogram[Int]): ColorMap
  11. def toColorMap(breaks: Vector[Double], options: Options)(implicit d: DummyImplicit): ColorMap
  12. def toColorMap(breaks: Vector[Double])(implicit d: DummyImplicit): ColorMap
  13. def toColorMap(breaks: Array[Double], options: Options)(implicit d: DummyImplicit): ColorMap
  14. def toColorMap(breaks: Array[Double])(implicit d: DummyImplicit): ColorMap
  15. def toColorMap(breaks: Vector[Int], options: Options): ColorMap
  16. def toColorMap(breaks: Vector[Int]): ColorMap
  17. def toColorMap(breaks: Array[Int], options: Options): ColorMap
  18. def toColorMap(breaks: Array[Int]): ColorMap

    Overloads for creating a ColorMap from a color ramp, for convenience.

    Overloads for creating a ColorMap from a color ramp, for convenience. Try to keep parity with ColorMap object creations