fabric.js v1.4.0 Release Notes
-
๐ [BACK_INCOMPAT] JSON and Cufon are no longer included in default build
0๏ธโฃ [BACK_INCOMPAT] Change default objects' originX/originY to left/top
๐ [BACK_INCOMPAT]
fabric.StaticCanvas#backgroundImage
andfabric.StaticCanvas#overlayImage
arefabric.Image
instances.fabric.StaticCanvas#backgroundImageOpacity
,fabric.StaticCanvas#backgroundImageStretch
,fabric.StaticCanvas#overlayImageLeft
andfabric.StaticCanvas#overlayImageTop
were removed.[BACK_INCOMPAT]
fabric.Text#backgroundColor
is nowfabric.Object#backgroundColor
๐ [BACK_INCOMPAT] Remove
fabric.Object#toGrayscale
andfabric.Object#overlayFill
since they're too specific๐ [BACK_INCOMPAT] Remove
fabric.StaticCanvas.toGrayscale
since we already have that logic infabric.Image.filters.Grayscale
.[BACK_INCOMPAT] Split
centerTransform
into the propertiescenteredScaling
andcenteredRotation
. Object rotation now happens around originX/originY point UNLESScenteredRotation=true
. Object scaling now happens non-centered UNLESScenteredScaling=true
.