Code example for EmbossMaskFilter

0
        mPaint.setStrokeJoin(Paint.Join.ROUND);
        mPaint.setStrokeCap(Paint.Cap.ROUND);
        mPaint.setStrokeWidth(12);
         
        mEmboss = new EmbossMaskFilter(new float[] { 1, 1, 1 },
                                       0.4f, 6, 3.5f); 
 
        mBlur = new BlurMaskFilter(8, BlurMaskFilter.Blur.NORMAL);
    } 
     
    private Paint       mPaint;
    private MaskFilter  mEmboss;
    private MaskFilter  mBlur;
     
    public void colorChanged(int color) {
        mPaint.setColor(color);
    } 
 
    public class MyView extends View {
         
Connect your IDE to all the code out there  Get Codota for Java