ImageVector
@Immutable class ImageVector
kotlin.Any | |
↳ | androidx.compose.ui.graphics.vector.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 classes | |
---|---|
Builder used to construct a Vector graphic tree. |
Public methods | |
---|---|
Boolean | |
Int |
hashCode() |
Properties | |
---|---|
Dp |
Intrinsic height of the vector asset in Dp |
Dp |
Intrinsic width of the vector asset in Dp |
String |
Name of the Vector asset |
VectorGroup |
Root group of the vector asset that contains all the child groups and paths |
BlendMode |
Blend mode used to apply tintColor |
Color |
Optional tint color to be applied to the vector graphic |
Float |
Used to define the height of the viewport space. |
Float |
Used to define the width of the viewport space. |
Public methods
hashCode
fun hashCode(): Int
Properties
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.