fromBitmap

open fun fromBitmap(@NonNull bitmap: Bitmap): Icon

Creates an icon from a given Bitmap image.

Return

The icon using the given Bitmap image.

Parameters

bitmap

image used for creating the Icon.