Test for gradientTransform with scientific notation Creates a horizontal linear gradient when the left half is red and the right half is green and with a width just over twice the width of the rectangle. Then a gradientTransform using exponential notation shifts the gradient to the left so that only the red part shows.