Applying a Gradient Across Multiple Objects In Canvas
When applying gradient fills to objects in Canvas, each object will have the full range of the gradient applied to it. Sometimes you may want the gradient fill to be shared across multiple objects. The way to do this is to apply the gradient to a composite path.