ericdrowell/KineticJS — pull request #21 by iblenderppc (2012-05-10 22:40:10+00:00)
Title: CC Style Mask for enabling rounded corners for the Rectangle Shape

I have added code to provide option to cornerRadius as a mask. As you suggested before, i made it as css style, so the options for the keys are

topLeft ------------------topRight
| |
| |
bottomLeft-------------bottomRight

Usage:

cornerRadius:{
'bottomRight':'10',
'bottomLeft':'10',
'topRight':'12'
},

This will generate a box with arcs in top right, bottom left and bottom right. Let me know your comments