Gradient along a irregular shape in Illustrator
Hi,
I am trying to apply a gradient which I use in object A (please see figure) to an irregular shape (object C) which I made by making a copy of object A and by changing its orientation (object B, for example 90°) and combining the two objects. Can anyone please explain me how to do it correctly? I would like the gradient to be as in the two objects B...
Thank you very much!


