androidx.compose.ui.graphics.vector

ImageVector

Class · from org.jetbrains.compose.ui:ui:1.12.2

No hand-written docs yet.

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

class ImageVector

Used by

Parameters that take a ImageVector.

Properties

name

val name: String

Name of the Vector asset

defaultWidth

val defaultWidth: Dp

Intrinsic width of the vector asset in Dp

defaultHeight

val defaultHeight: Dp

Intrinsic height of the vector asset in Dp

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.

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.

root

val root: VectorGroup

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

tintColor

val tintColor: Color

Optional tint color to be applied to the vector graphic

tintBlendMode

val tintBlendMode: BlendMode

Blend mode used to apply tintColor

autoMirror

val autoMirror: Boolean

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

Nested types

Library docs

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