Maps and Navigation SDK
1.20.0
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.