If I try to fill a path with a gradient if the component that draws it is rotated, then the fill seems to spill into the other nearby components.
Here is an image showing the setup. Each of the 7 outer shapes are components. Each one is rotated with an affine transformation. In the paint methods, they are filling a path with a gradient. The gradient moves with the mouse. Here I'm clicking in the center of one pad.
This next image shows the problem. If I move the mouse to the edge of the component, the fill leaks into the next component! How do I fix this?