Code example for Paint

Methods: setShadowLayer

0
		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;
	} 
 
	public void setScale( double s ) {
		float factor = (float) s;
		Matrix matrix = new Matrix();
		drawingPath.set( originalPath );
		matrix.setScale( factor, factor );