Compatibility :
Demos (dotted rect, solid line rect, rectangular shape, rect clipped region)
...Download the JavaScript source code (4 demos : 8.5 kb)