Code example for CornerPathEffect

0
		paint.setColor( c );
		invalidate();
	} 
 
	public void setCornerRadii( float r ) {
		paint.setPathEffect( new CornerPathEffect( r ) );
		invalidate();
	} 
	 
	public void setShadowLayer(float radius, float dx, float dy, int color){
		paint.setShadowLayer( radius, dx, dy, color );
	} 
	 
	public void setStrokeWidth( float w ){
		paint.setStrokeWidth( w );
	} 
 
	public double getScale() { 
		return scale;
	}