Function is introduced

This system is based on the fabric. The js canvas version of pictures, text editor, support for image magnification, narrow, rotation, mirror, drag, show/hide layer, delete layer, replace the layer operation, such as support for the text to modify text, colors, fonts, bold, italic, underline, background color, etc., at the same time support the existing images Operation, drag layer has auxiliary line function, can zoom in and out of the canvas function, multi-operation can undo/rollback function, can directly export pictures, PS basic operations are supported, welcome star.

Project address github.com/Jeff-Bee/on…

Function Preview

The directory structure

Fabric. Js

Fabric document address has few Chinese materials, so I encountered a lot of problems in the process of using it. I found a lot of materials and finally realized all the functions. If you have any questions, please contact me. First, you need to be familiar with the basics of Canvas, and then it will be easy to use this library.

Write in the last

This is made the function of the project, because the process is bumpy, fabric, js library is very strong, but very little Chinese language materials, lead to solve the problem of time spent a lot of kung fu, so pick out for the use of people in need, because some things need the back-end to cooperate, so cut off part of his function, there are some redundant code in all of the code, we need those features The house can also cooperate with the background to do these functions, the front-end logic has been realized.