asBitmap

fun asBitmap(width: Int, height: Int): Pair<Int, Bitmap?>

Converts SignpostImage as an Bitmap.

Return

pair of result width, actual bitmap. Note. if width is 0 then it will be auto calculated and returned in result pair.

Parameters

width

Desired width. If 0 it a width will be provided as result.

height

Desired height. Can't be 0.