# ResourcesScope

interface ResourcesScope

An extension for Hikage view scope to provide resources.

## Functions

bitmapResource
Link copied to clipboard
abstract fun bitmapResource (@ DrawableRes resId: Int ): Bitmap

Get the Bitmap from resId.

colorResource
Link copied to clipboard
abstract fun colorResource (@ ColorRes resId: Int ): Int

Get the color from resId.

dimenResource
Link copied to clipboard
abstract fun dimenResource (@ DimenRes resId: Int ): Float

Get the dimension from resId.

drawableResource
Link copied to clipboard
abstract fun drawableResource (@ DrawableRes resId: Int ): Drawable

Get the Drawable from resId.

fontResource
Link copied to clipboard
abstract fun fontResource (@ FontRes resId: Int ): Typeface ?

Get the font from resId.

stateColorResource
Link copied to clipboard
abstract fun stateColorResource (@ ColorRes resId: Int ): ColorStateList

Get the ColorStateList from resId.

stringResource
Link copied to clipboard
abstract fun stringResource (@ StringRes resId: Int , vararg formatArgs: Any ): String

Get the string from resId.