How to change the gradient of mc using Tint option?

Hi Everybody,
I’d made mc in that I’d draw one box with gradient color now I want to change the gradient value using Tint option dynamically. Please help me.

Regards,
Jitendra Jadav.