Code example for GradientDrawable

Methods: setCornerRadii

0
        canvas.restore(); 
	} 
	 
	static void setCornerRadii(GradientDrawable drawable, float r0, float r1,
            float r2, float r3) {
        drawable.setCornerRadii(new float[] { r0, r0, r1, r1, r2, r2, r3, r3 });
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java