GradientBrush missing in juce 2?


#1

Hi all,

I have a project that’s using juce 1.46. In the code, I’m using the GradientBrush class. I’m upgrading the project to the latest juce version from the git repository, but the GradientBrush class seems to be gone. What is the class that replaces this class?

I found the changelogs on sourceforge and github and tried searching those for the GradientBrush class but no luck.

Thanks
B


#2

You just use FillType. Or Graphics::setGradientFill