Changed how rounded corners works
Changed how rounded corners works

The strokeCap and strokeJoin of a path are now set through the "rounded" property (boolean). Also, when "rounded" is set to true when calling drawRect, the rectangle's corners are automatically rounded (cornerRadius still works, too).

antiveeranna/jcanvas,werk85/jcanvas,josiahgoff/jcanvas,aiwenlg007/jcanvas,josiahgoff/jcanvas,josiahgoff/jcanvas,caleb531/jcanvas,imshibaji/jcanvas,caleb531/jcanvas,antiveeranna/jcanvas,makelivedotnet/jcanvas,makelivedotnet/jcanvas,imshibaji/jcanvas,aiwenlg007/jcanvas,werk85/jcanvas,makelivedotnet/jcanvas,imshibaji/jcanvas,werk85/jcanvas,antiveeranna/jcanvas,aiwenlg007/jcanvas