Maps and Navigation SDK
0.45.7
androidJvm
com.tomtom.sdk.maps:map-display-api
/
com.tomtom.sdk.map.display.image
/
ImageFactory
/
fromResource
from
Resource
fun
fromResource
(
@
DrawableRes
id
:
Int
)
:
Image
Creates an
Image
from resources.
Return
The
Image
created from the resource ID.
Parameters
id
A drawable resource ID.