class ColorRamp extends Serializable
A ColorRamp represents a sequence of RGBA color values
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ColorRamp
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val colors: Vector[Int]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def numStops: Int
-
def
setAlpha(alphaPct: Double): ColorRamp
Set a uniform alpha value for all contained colors
-
def
setAlpha(a: Int): ColorRamp
Set a uniform alpha value for all contained colors
-
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)
- def stops(requestedNumStops: Int): ColorRamp
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toColorMap(histogram: histogram.Histogram[Double], options: Options)(implicit d: DummyImplicit): ColorMap
- def toColorMap(histogram: histogram.Histogram[Double])(implicit d: DummyImplicit): ColorMap
- def toColorMap(histogram: histogram.Histogram[Int], options: Options): ColorMap
- def toColorMap(histogram: histogram.Histogram[Int]): ColorMap
- def toColorMap(breaks: Vector[Double], options: Options)(implicit d: DummyImplicit): ColorMap
- def toColorMap(breaks: Vector[Double])(implicit d: DummyImplicit): ColorMap
- def toColorMap(breaks: Array[Double], options: Options)(implicit d: DummyImplicit): ColorMap
- def toColorMap(breaks: Array[Double])(implicit d: DummyImplicit): ColorMap
- def toColorMap(breaks: Vector[Int], options: Options): ColorMap
- def toColorMap(breaks: Vector[Int]): ColorMap
- def toColorMap(breaks: Array[Int], options: Options): ColorMap
-
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
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()