exyte / Macaw

Powerful and easy-to-use vector graphics Swift library with SVG support
MIT License
6k stars 552 forks source link

SVG Display = "none" #750

Open littlethormanator opened 3 years ago

littlethormanator commented 3 years ago

Hi,

I was wondering if it is possible to set a node display to none so it isn't rendered or if that is something that could be added as a property for a Macaw.Group. The following website talks about the display property for an SVG image. https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/display

I did find that Macaw reads the display = "none", if I set that as part of the SVG before loading it, but I would like to be able to set that when interacting with an SVG. Thanks.