Android
public class RemoteImageVector
/**
* Create a RemoteImageVector.
*
* @param name Name of the Vector asset
* @param viewportWidth Used to define the height of the viewport space. Viewport is basically the
* virtual canvas where the paths are drawn on.
* @param viewportHeight Used to define the width of the viewport space. Viewport is basically the
* virtual canvas where the paths are drawn on.
* @param root Root group of the vector asset that contains all the child groups and paths
* @param tintColor Optional tint color to be applied to the vector graphic
* @param tintBlendMode Blend mode used to apply [tintColor]
* @param autoMirror Determines if the vector asset should automatically be mirrored for right to
* left locales
*/
internal constructor(
internal val name: String,
internal val viewportWidth: RemoteFloat,
internal val viewportHeight: RemoteFloat,
internal val tintColor: RemoteColor = RemoteColor(Color.Black),
internal val tintBlendMode: BlendMode = BlendMode.SrcIn,
internal val autoMirror: Boolean = false,
)
A base class for defining vector graphics that can be drawn in a remote compose. It could be rendered by passing it as an argument to androidx.compose.remote.creation.compose.vector.painterRemoteVector