Apply the bounds and transform the shader.
Gradient applyBounds(Rect bounds, AffineMatrix transform);