Package-level declarations

Functions

Link copied to clipboard
fun getAlphaSetColor(@ColorInt color: Int, @FloatRange(from = 0.0, to = 1.0) alpha: Float): Int

Returns color with its alpha replaced by alpha.

Link copied to clipboard

Loads and tints a drawable resource.

Link copied to clipboard

Decodes a Bitmap from a content Uri.

Link copied to clipboard
fun Drawable.setColor(context: Context, @ColorRes colorId: Int)

Tints this Drawable with a color resource.

Link copied to clipboard

Converts a normalized float channel to an RGB channel integer.