Drawing translucent bitmaps using Canvas (Android)

Posted by mcbitmap on Stack Overflow See other posts from Stack Overflow or by mcbitmap
Published on 2010-03-17T23:10:14Z Indexed on 2010/03/20 19:31 UTC
Read the original article Hit count: 308

Filed under:
|
|

I have a Bitmap object and want to render it to a Canvas object with varying levels of translucency (i.e. make the whole bitmap partially see through). For example, I have sprites in a game (that are drawn over the top of a bitmap background) that I want to fade out from being opaque to being invisible. Can I do this without having to resort to OpenGL?

© Stack Overflow or respective owner

Related posts about android

Related posts about java