androidx.compose.remote.creation.compose.vector

Classes

RemotePathScope

Provides a DSL to describe a vector path.

Top-level functions summary

Top-level functions

fun painterRemoteVector(
    image: ImageVector,
    tintColor: RemoteColor = RemoteColor(image.tintColor)
): RemotePainter

Creates a RemoteVectorPainter from an ImageVector.

Parameters
image: ImageVector

the ImageVector to create the painter for.

tintColor: RemoteColor = RemoteColor(image.tintColor)

the tint color to apply to the image.

fun painterRemoteVector(
    vector: RemoteImageVector,
    tintColor: RemoteColor = vector.tintColor
): RemotePainter

Creates a RemoteVectorPainter from a RemoteImageVector.

Parameters
vector: RemoteImageVector

The RemoteImageVector to create the painter for.

tintColor: RemoteColor = vector.tintColor

the tint color to apply to the image.