How to draw such a thing with Raphael. Also, so that only the red part is drawn (the rest is transparent) and so that the red part can be increased / decreased and animated the change? + the ability to fill it with not only red color, but also a gradient (linear gradient).
It seems to write something using the path, but it does not work out what I want.