npm fabric 1.4.0
Version 1.4.0

latest releases: 6.0.0-rc1, 6.0.0-beta20, 6.0.0-beta19...
10 years ago

This release features:

long-awaited and super-duper-awesome fabric.IText!

Notable additions:

  • fabric.Image#crossOrigin
  • fabric.Canvas#toSVG reviver support
  • off with no arguments removes all events
  • object controls visibiliy

See all 296 commits since v1.3.0 with tons of fixes, improvements, small additions.

The list of back-incompatible changes (for a cleaner, simpler, more intuitive API) is as follows:

  • JSON and Cufon are no longer included in default build
  • Change default objects' originX/originY to left/top
  • fabric.StaticCanvas#backgroundImage and fabric.StaticCanvas#overlayImage are fabric.Image instances. fabric.StaticCanvas#backgroundImageOpacity, fabric.StaticCanvas#backgroundImageStretch, fabric.StaticCanvas#overlayImageLeft and fabric.StaticCanvas#overlayImageTop were removed.
  • fabric.Text#backgroundColor is now fabric.Object#backgroundColor
  • Remove fabric.Object#toGrayscale and fabric.Object#overlayFill since they're too specific
  • Remove fabric.StaticCanvas.toGrayscale since we already have that logic in fabric.Image.filters.Grayscale.
  • Split centerTransform into the properties centeredScaling and centeredRotation. Object rotation now happens around originX/originY point UNLESS centeredRotation=true. Object scaling now happens non-centered UNLESS centeredScaling=true.

Don't miss a new fabric release

NewReleases is sending notifications on new releases.