This PR ensures the correct colour is applied to stroke all sublayers. However there are some caveats listed below.
When a stroke is provided (i.e. lineWidth) on the svgLayer, the boundingBox value will actually return a clipped rectangle since the stroke is applied along the shapes edge (from its centre)
Setting a stroke seems to break some SVG paths. Not sure why atm.
Fixes #86
This PR ensures the correct colour is applied to stroke all sublayers. However there are some caveats listed below.
lineWidth
) on thesvgLayer
, the boundingBox value will actually return a clipped rectangle since the stroke is applied along the shapes edge (from its centre)