DefaultColorInterpolator

class DefaultColorInterpolator(lowColor: TileColor, highColor: TileColor) : ColorInterpolator

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
getColorAtRatio
Link copied to clipboard
common
open override fun getColorAtRatio(ratio: Double): TileColor
Returns a new TileColor which is the interpolation between the two colors of the interpolator at the given ratio (between 0.0 and 1.0).
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

highColor
Link copied to clipboard
common
open override val highColor: TileColor
Represents the highest value in the color space.
lowColor
Link copied to clipboard
common
open override val lowColor: TileColor
Represents the lowest value in the color space.

Sources

(source)
Link copied to clipboard