Brush classes replacement

Hi,

Since the Brush classes are deleted in the latest tip what method can I use in the graphics class to replace it with as I was using the brush class, thanks!

FillType. And there are new methods like Graphics::setGradient, etc.