fromPath

open fun fromPath(@NonNull absolutePath: String): Icon

Creates an Icon using the absolute file path of a Bitmap image.

Return

The Icon that was loaded from the absolute path or null if failed to load.

Parameters

absolutePath

The absolute path of the Bitmap image.