toIcon

@RequiresApi(value = 26)
inline fun Bitmap.toIcon(): Icon(source)

Create an Icon from this Bitmap.

See also


@RequiresApi(value = 26)
inline fun Uri.toIcon(): Icon(source)

Create an Icon from this Uri.

See also


@RequiresApi(value = 26)
inline fun ByteArray.toIcon(): Icon(source)

Create an Icon from this ByteArray.

See also