-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Description/Steps to reproduce
In some cases, paths' strokeBounds will be incorrectly sized too small.
This can easily be seen with e.g. a rotated ellipse, as in the sketch below.
- Create a
paper.Path.Ellipse - Rotate it
- Get its stroke bounds
- Notice that the bounds do not cover the actual stroke (and vary depending on the rotation)
Link to reproduction test-case
Expected result
An item's strokeBounds should cover the entire item-- otherwise, this can lead to viewboxes of exported SVGs being incorrectly shrunken and cutting off outlines.
Additional information
This occurs across browsers/OSes