// 取得Resource 图片的BitmapBitmap vBitmap = BitmapFactory.decodeResource( this.getResources(), R.drawable.icon);// 建立Paint 物件Paint vPaint = new Paint();vPaint .setStyle( Paint.Style.STROKE ); //空心vPaint .setAlpha( 75 ); // //canvas.drawBitmap ( vBitmap , 50, 100, null ); //无透明canvas.drawBitmap ( vBitmap , 50, 200, vPaint ); //有透明