core-ktx / androidx.graphics / android.graphics.PorterDuff.Mode / toXfermode

toXfermode

inline fun Mode.toXfermode(): PorterDuffXfermode

Creates a new PorterDuffXfermode that uses this PorterDuff.Mode as the alpha compositing or blending mode.