trait ColorMap extends Serializable
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ColorMap
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
breaksString: String
Retrieve a "breaks string" from ColorMap data.
Retrieve a "breaks string" from ColorMap data. The opposite of the ColorMap.fromString methods.
- abstract def colors: Vector[Int]
- abstract def map(v: Int): Int
- abstract def mapColors(f: (Int) ⇒ Int): ColorMap
-
abstract
def
mapColorsToIndex(): ColorMap
Maps each color value to its index in the colors sequence.
Maps each color value to its index in the colors sequence. This is useful for table lookup encodings (ex: geotrellis.raster.render.png.IndexedPngEncoding)
- abstract def mapDouble(v: Double): Int
- abstract val options: Options
- abstract def withBoundaryType(classBoundaryType: ClassBoundaryType): ColorMap
- abstract def withFallbackColor(color: Int): ColorMap
- abstract def withNoDataColor(color: Int): ColorMap