i managed to do this not by adjusting the gradient directly, but by making the colors property’s of the rectangle and binding the gradient to those properties, and then adjusting those properties from the mouse area.
↧