RipCloth:使用Xfermode中的DST_OUT模式,实现两张图片相交部分的透明化,完成掉美女衣服的效果-源码

上传者: 42105570 | 上传时间: 2021-07-02 11:03:19 | 文件大小: 133KB | 文件类型: ZIP
Switch ###简单介绍 使用Xfermode中的DST_OUT模式,实现两张图片相交部分的透明化,完成掉美女衣服的效果。 具体代码: public class MainActivity extends ActionBarActivity implements View.OnTouchListener { private ImageView top; private Paint mPaint; private Canvas mCanvas; private Bitmap blank; private Bitmap topBitmap; private Bitmap buttomBitmap; private Path mPath; private ImageView buttom; @Override pr

文件下载

资源详情

[{"title":"( 22 个子文件 133KB ) RipCloth:使用Xfermode中的DST_OUT模式,实现两张图片相交部分的透明化,完成掉美女衣服的效果-源码","children":[{"title":"RipCloth-master","children":[{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"proguard-rules.pro <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 667B </span>","children":null,"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"bing","children":[{"title":"simeimvyifu","children":[{"title":"MainActivity.java <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"res","children":[{"title":"values","children":[{"title":"styles.xml <span style='color:#111;'> 192B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 293B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 211B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 542B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"a6.jpg <span style='color:#111;'> 36.13KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 9.18KB </span>","children":null,"spread":false},{"title":"b6.jpg <span style='color:#111;'> 36.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 14.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 18.93KB </span>","children":null,"spread":false}],"spread":false},{"title":"menu","children":[{"title":"menu_main_activity2.xml <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"menu_main.xml <span style='color:#111;'> 345B </span>","children":null,"spread":false}],"spread":false},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 358B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"bing","children":[{"title":"simeimvyifu","children":[{"title":"ApplicationTest.java <span style='color:#111;'> 359B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"simeimvyifu.iml <span style='color:#111;'> 6.76KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明