Created
January 7, 2019 13:37
-
-
Save bitvale/cb29b7145a40e58758a8db361e7a8eab to your computer and use it in GitHub Desktop.
For Medium article "The power of Android Porter/Duff Mode"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
textPaint.apply { | |
// some other initialization | |
xfermode = PorterDuffXfermode(PorterDuff.Mode.DST_ATOP) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment