I haven't done this myself, however I know that the API Demos have an
application demonstrating clipping.  You may want to take a look at
that code and go from there as I noticed they have a circlular region
displayed.


~clark

On Mar 26, 5:26 pm, "geoff.stromberg" <[email protected]>
wrote:
> Hello,
>
> In my Java code I am setting the content of an ImageView to a Bitmap.
> However, before doing so I want to clip the Bitmap to a circular
> region. How would I go about this? I've been looking for some API that
> would let me set the alpha channel of the Bitmap to fully transparent
> for all pixels outside the circular region. Any pointers would be
> appreciated. Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to