Hello,
I try to use DropShadow::drawForPath()
, and it works fine, but the problem is it is also fill whole path with selected colours. So after DropShadow::drawForPath()
I always need to remember to fill the path with colour which I expect. Is it default behaviour? Or I do something wrong?
My code looks like that:
Path path;
path.addPolygon({0.0f, 0.0f}, 6, 20.0f);
DropShadow ds(Colours::red, 10,{0,0});
ds.drawForPath(g, path);
And with that I receive red polygon with red outer shadow.
For any help thanks in advance.
Best Regards