fabric.js v4.0.0-beta.11 Release Notes
Release Date: 2020-04-25 // almost 4 years ago-
- ๐ fix(itext): improved style handling for new lines #6268
- ๐ fix(controls): Fix flip and controls and skewY and controls. #6278
- ๐ fix(controls): Current position with handlers is wrong if using skew #6267
- ๐ฅ breaking: setCoords has only one argument now
skipCorners
boolean. setCoords will always update aCoords, lineCoords. If skipCorners is not specified, it will alos update oCoords(); - feat(fabric.Image): Image.imageSmoothing for fabric.Image objects #6280
- ๐ fix(fabric.StaticCanvas): export to dataUrl and canvasElement will respect imageSmoothingEnabled #6280
- ๐ fix(fabric.Image): toSVG export with missing element won't crash #6280
- โ added: added fabric.util.setImageSmoothing(ctx, value);
- โ added svg import/export for image image-rendering attribute
- ๐ fix(svg_import): Fix some parsing logic for nested SVGs. #6284
- ๐ fix(fabric.Image): do not crash if image has no element #6285
๐ฅ BREAKING:
- โ removed 2 utils member that was not used anywhere: fabric.util.getScript, fabric.util.getElementStyle
- โ remove private member _setImageSmoothing in the canvas: use fabric.util.setImageSmoothing(ctx, value);