scale

suspend fun scale(min: Double, max: Double, options: MTColorRampCloneOptions? = null): MTColorRamp

Scale the ramp to a new interval. When clone is false, the current ramp is mutated and returned.