Function

painterRemoteVector

Creates a RemotePainter from a RemoteImageVector.

painterRemoteVector

Source set: JvmAndAndroid
public fun painterRemoteVector(
    vector: RemoteImageVector,
    tintColor: RemoteColor = vector.tintColor,
): RemotePainter

Creates a RemotePainter from a RemoteImageVector.

Parameters

vector The RemoteImageVector to create the painter for.
tintColor the tint color to apply to the image.

Return

a RemotePainter that draws vector with tintColor

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: