Ramp.Transform
Description
Transforms the input coordinate of the given color ramp. Input X-coordinates are transformed as follows:
xOut = offset + scale * xIn xIn = (xOut - offset) / scale = xOut / scale - offset / scale
where xIn
refers to the coordinate passed to the returned color ramp and xOut
is the coordinate that is passed to this color ramp.