ImageVector


Vector graphics object that is generated as a result of ImageVector.Builder It can be composed and rendered by passing it as an argument to rememberVectorPainter

Summary

Nested types

Builder used to construct a Vector graphic tree.

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn

Public properties

Boolean

Determines if the vector asset should automatically be mirrored for right to left locales

Cmn
Dp

Intrinsic height of the vector asset in Dp

Cmn
Dp

Intrinsic width of the vector asset in Dp

Cmn
String

Name of the Vector asset

Cmn
VectorGroup

Root group of the vector asset that contains all the child groups and paths

Cmn
BlendMode

Blend mode used to apply tintColor

Cmn
Color

Optional tint color to be applied to the vector graphic

Cmn
Float

Used to define the height of the viewport space.

Cmn
Float

Used to define the width of the viewport space.

Cmn

Extension functions

RemoteImageVector

Converts a Compose UI ImageVector to a RemoteImageVector.

android

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

autoMirror

val autoMirror: Boolean

Determines if the vector asset should automatically be mirrored for right to left locales

defaultHeight

val defaultHeight: Dp

Intrinsic height of the vector asset in Dp

defaultWidth

val defaultWidth: Dp

Intrinsic width of the vector asset in Dp

name

val name: String

Name of the Vector asset

root

val root: VectorGroup

Root group of the vector asset that contains all the child groups and paths

tintBlendMode

val tintBlendMode: BlendMode

Blend mode used to apply tintColor

tintColor

val tintColor: Color

Optional tint color to be applied to the vector graphic

viewportHeight

val viewportHeight: Float

Used to define the height of the viewport space. Viewport is basically the virtual canvas where the paths are drawn on.

viewportWidth

val viewportWidth: Float

Used to define the width of the viewport space. Viewport is basically the virtual canvas where the paths are drawn on.

Extension functions

ImageVector.toRemoteImageVector

fun ImageVector.toRemoteImageVector(): RemoteImageVector

Converts a Compose UI ImageVector to a RemoteImageVector.