Does anyone know exactly how you set up an Xfermode for use with Paint..? I'm trying to set up an XferMode with PorterDuff.Mode.DARKEN so that, when assigned, all pixels painted with the Paint call will darken the underlying pixels (I don't wish to use an alpha channel btw)... however I've had very little success actually doing this!
According to the Xfermode documentation: "The static function Create(Modes) can be called to return an instance of any of the predefined subclasses as specified in the Modes enum" - unfortunately I cannot find such a function! Any help would be much appreciated, cheers. --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

