vectorResource
Composable Function
Android
@Composable
fun ImageVector.Companion.vectorResource(@DrawableRes id: Int): ImageVector
Load an ImageVector from a vector resource.
This function is intended to be used for when low-level ImageVector-specific functionality is
required. For simply displaying onscreen, the vector/bitmap-agnostic painterResource is
recommended instead.
Parameters
| id | the resource identifier |
Returns
| the vector data associated with the resource |
