ColorDrawableKt

public final class ColorDrawableKt


Summary

Public methods

static final @NonNull ColorDrawable

Create a ColorDrawable from this color value.

static final @RequiresApi(value = 26) @NonNull ColorDrawable

Create a ColorDrawable from this Color (via Color.toArgb).

Public methods

ColorDrawableKt.toDrawable

public static final @NonNull ColorDrawable ColorDrawableKt.toDrawable(@ColorInt int receiver)

Create a ColorDrawable from this color value.

ColorDrawableKt.toDrawable

@RequiresApi(value = 26)
public static final @NonNull ColorDrawable ColorDrawableKt.toDrawable(Color receiver)

Create a ColorDrawable from this Color (via Color.toArgb).