ImageVector
-
Cmn
class 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 |
|---|
class ImageVector.BuilderBuilder used to construct a Vector graphic tree. |
object ImageVector.Companion |
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 |
Cmn
|
Dp |
Intrinsic width of the vector asset in |
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 |
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
|
Public properties
autoMirror
val autoMirror: Boolean
Determines if the vector asset should automatically be mirrored for right to left locales
root
val root: VectorGroup
Root group of the vector asset that contains all the child groups and paths
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.