On this page
setStops
suspend fun setStops(stops: List<MTColorStop>, options: MTColorRampCloneOptions? = null): MTColorRamp
Replace the stops of this ramp. When clone is false, the current ramp is mutated and returned.
Replace the stops of this ramp. When clone is false, the current ramp is mutated and returned.