There is no replacement. AvoidXfermode is deprecated because it's not
supported in hardware. You can keep using it if you are drawing into a
Bitmap though.


On Sun, Apr 21, 2013 at 7:22 AM, AndroidCompile <[email protected]>wrote:

> Hi,
> I need to draw a bitmap on another bitmap, but I only want to draw on top
> of pixels that have a specific color (transparent in this case) .
> I understand that AvoidXfermode could do that, but it is deprecated since
> API 16.
> Is there a different method to this now ?
>
> --
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Romain Guy
Android framework engineer
[email protected]

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to