rememberVectorPainter

fun rememberVectorPainter(image: ImageVector, tintColor: Color, tintBlendMode: BlendMode = image.tintBlendMode): VectorPainter

Create a VectorPainter with the Vector defined by the provided sub-composition and use a different tint color than what is defined in image.

Parameters

image

ImageVector used to create a vector graphic sub-composition.

tintColor

color used to tint the root group of this vector graphic.

tintBlendMode

optional BlendMode used in combination with tintColor, defaults to value defined in image.