Code example for EmbossMaskFilter

0
		this(penSize, penColor, Paint.Style.STROKE); 
	} 
 
	public EmbossPen(int size, int penColor, Paint.Style style) { 
		super(size, penColor, style); 
		mEmboss = new EmbossMaskFilter(new float[] { 1, 1, 1 }, 0.4f, 6, 3.5f); 
		mPenPaint.setMaskFilter(mEmboss); 
	} 
 
	@Override 
	public String toString() { 
		return "\tEmboss: " + "\tshap: " + currentShape + "\thasDraw: " 
				+ hasDraw() + "\tsize: " + penSize + "\tstyle:" + style; 
	} 
}