Reputation: 418
I need cropping functionality, image blocks must be unchangable, the best one i saw on canva.com If original block w/h!= image w/h (different shape dimensions) user must have ability move and resize image within current active image object WITHOUT changing original object dimension. Currently i can make cropping using clipTo and moving it with actions, but it's not convenient. Also i can bound image to rectagle, but i will cropped parts of image will be hidden...
Needed working demo here: Demo here: https://www.canva.com/design/DACkUOnIfcs/dx5k5cs4uJbyscmmpzp1Pg/edit
Can i achieve something like that with current fabricjs?
Upvotes: 0
Views: 2277
Reputation: 1667
Yes, you can.
Upvotes: 3