kangax/fabric.js — pull request #1875 by asturur (2014-12-03 01:53:51+00:00)
Title: Added clipBackground option

Add an option to render the background before the canvas clipcontext.

I needed this option for a little tool based on fabric, i would like to see if it can be considered interesting.
I know i can achieve the same effect probably with some CSS background, but in this way the effect is exportable with canvas.toObject.

The effect is shown in the screens and is simple as it gets:
![image](https://cloud.githubusercontent.com/assets/1194048/5274611/74f4ef90-7a97-11e4-970a-3f7c30463428.png)

Using clipping masks and keeping the background function