Drawable Matcher
public DrawableMatcher DrawableMatcher(@DrawableRes() Integer resId, Drawable drawable, @ColorRes() Integer tintColorId, Function1<Drawable, Bitmap> toBitmap)
Parameters
res Id
Drawable resource to be matched (default is -1)
drawable
Drawable instance to be matched (default is null)
to Bitmap
Lambda with custom Drawable -> Bitmap converter (default is null)