I have an alpha mask and I want to use this mask as a rubber, when user touch on the screen that part of bitmap should be erased as the shape of the a ...
I have an alpha mask and I want to use this mask as a rubber, when user touch on the screen that part of bitmap should be erased as the shape of the a ...
On the left is screenshot taken on Android P beta and on right is on Android 26. There seems to be inconsistencies on how Xfermode is working on Andr ...
i need to draw a Rectangle only over the areas, which were not drawn yet. For example when i call drawText to write something, and then draw the Rect ...
I'am trying to draw a circular bitmap into a canvas. The bitmap gets clipped correctly if the canvas i want to draw on is transparent, but not if i ha ...
I need to put some markers on top of a Nutiteq MapView. In order to create these markers I create a bitmap with a semi-transparent circle. Each mar ...
I am inspired by the the new Material Design animations and I worked to create a similar drawable that is used in new support v7 Action Bar Drawer Tog ...
I'd like to implement custom ViewGroup which is displaying single View inside. The tricky part is that the child view have to be crop into circle shap ...
In map activity i created overlay on which on Cnavas i draw shapes using Paint Shape consists from points and lines Also I define AvoidXfermode to ...
I need to create a rounded ImageView in Android. Now I use Canvas.clipPath() but hardware acceleration isn't supported by it. Of course I use View.LAY ...
I'm newbie in graphics and there is really raw explanation of Xfermode class in Android documentation for me. Searching the web, I found only relatio ...