Skip to content

1.4.0

Compare
Choose a tag to compare
@seonim-ryu seonim-ryu released this 02 Dec 05:42
· 467 commits to master since this release
  • Add Shape Feature

    • You can draw the shape(rectagle, triangle, circle) on canvas.
      • fabric.js dependency version is ~1.6.4 to use this feature.
    • Using with new APIs
      • startDrawingShapeMode
      • endDrawingShapeMode
      • setDrawingShape
      • addShape
      • changeShape
  • New and changing APIs

    • isEmptyUndoStack : To check the current undo stack is empty. (new)
    • isEmptyRedoStack : To check the current redo stack is empty. (new)
    • destroy : To prevent memory leaks. (new)
    • addIcon : Added options parameter. (change)
    var options = {
        left: 10,
        top: 10
    };
    
    imageEditor.addIcon(type, options);
    • #mousedown : Bind the mousedown event on canvas and return current event object. (new)
  • Etc.

    • The API and sample page is upgraded.
    • The bundle environment is changed gulp to webpack