This is a sample project on how to use multiple paths to clip an image in Android canvas..
Android-Image-Clipping is hosted in the following web site
https://github.com/cdoger/Android-Image-Clipping
If you think the Android project Android-Image-Clipping listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of Android-Image-Clipping.
Item | Value |
---|---|
Java File Count | 5 |
Supported screen sizes | [mdpi, xhdpi] |
Minimum SDK Version | 9 |
Activity Count | 1 |
There are 2 image files in Android-Image-Clipping. The names of the image files are listed as follows.
control.png normal.png
The following screenshort is generated from the image listed above.
Android-Image-Clipping has the following Java source files.
com.cd.clipping.BezierCurve.java com.cd.clipping.BezierPoint.java com.cd.clipping.BezierView.java com.cd.clipping.ClippingActivity.java com.cd.clipping.CurveHolder.java