/fabric-clipping-demo

A clipping demo with Fabric.js

Primary LanguageJavaScript

Fabric.js clipping example

An example of how to use Fabric.js to create clipping masks.

Take a look at the demo

Features of this example

  • You can pan around the canvas and zoom in/out, clipping masks will always be applied correctly!
  • Interacts with objects outside the canvas
  • Upload an image from your computer
  • Works on retina devices
  • Convenience buttons
  • Select the image only when the mouse is over the clip rect

Screencast

Screencast of demo