Is there a command to enable or disable fill (ie. the checkbox next to fill colour in UI)?


I’m working on updating my plugin that applies drop shadows to mask image groups. I realised that my plugin will not work if the user’s initial mask shape did not have the fill colour enabled. While I give the new shape a white fill, if that isn’t enabled, the drop shadow does not show.

Does anyone know how I can switch the fill colour on?



Hi @jonenz,

I think the GraphicsNode::fillEnabled property (cf. might be what you’re looking for :wink:

Happy coding,


That looks like it should do it. Thanks Pablo.