public extractAlpha ( ) : global::android.graphics.Bitmap | ||
return | global::android.graphics.Bitmap |
public AlphaBitmap (Context context) : base (context) { mBitmap = GetResourceBitmap (R.drawable.app_sample_code); mBitmap2 = mBitmap.extractAlpha (); mBitmap3 = Bitmap.createBitmap (200, 200, Bitmap.Config.ALPHA_8); drawIntoBitmap (mBitmap3); mShader = new LinearGradient (0, 0, 100, 70, new int[] { Color.RED, Color.GREEN, Color.BLUE }, null, Shader.TileMode.MIRROR); }