2.0.0
Simplified flip
*** Breaking Changes ***
The vertically flip option is being withdrawn. It likely had very little usage or practical application with the svgs. Therefore the overhead caused by supporting this option value when consideing adding new functionality to the library was deemed unworthy.
The flip option and setFlip method now expect a boolean. So {flip: true}
or setFlip(true)
flip the svg horizontally only. Using setFlip(false)
can be used to reset a horizontal flip applied at creation.
This is only partially breaking because the boolean argument isn't being enforced, so any current uses of flip that pass horizontally would still work after upgrading to this version. Passing vertically or anything else would also apply a horizontal flip now. This may be made more strict in a future version where only true or false would be accepted.
It is possible to flip the svg vertically using this css transform: scale(1,-1);
if that functionality is still required.