Code example for EmbossMaskFilter

0
		mPaint.setAntiAlias(true);
		mPaint.setDither(true);
		mPaint.setStrokeJoin(Paint.Join.ROUND);
		mPaint.setStrokeCap(Paint.Cap.SQUARE);
		mPaint.setStrokeWidth(12);
		mEmbossFilter = new EmbossMaskFilter(new float[]{1, 1, 1}, 0.4f, 8, 2);
		 
	} 
 
	public class PaintView extends View {
 
		public PaintView(Context context) {
			super(context);
		} 
	} 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java