$.shape.rounding

rounds the corner for future shapes drawn.

Examples

function update() {
    $.shape.rounding = 3;
	$.shape.rectangle( 
		$.w/2,      // x position
		30,      // y position
		30,        // width 
		30         // height 
	);   
    $.shape.multiline(
        $.w/2,80,
        $.w/2-40,120,
        $.w/2+40,150
    );

    $.shape.rounding = 15;
	$.shape.rectangle( 
		$.w/2,      // x position
		220,         // y position
		30,         // width 
		30          // height 
	);   
    $.shape.polygon(
        $.w/2,310,      //x1,y1
        $.w/2-40,350,   //x2,y2
        $.w/2+40,350    //x3,y3
    ); 
}