androidx.compose.material.icons
Kotlin
|Java
Top-level functions summary
ImageVector |
materialIcon(name: String, block: ImageVector.Builder.() -> ImageVector.Builder) Utility delegate to construct a Material icon with default size information. |
Extension functions summary
For Builder | |
ImageVector.Builder |
ImageVector.Builder.materialPath(fillAlpha: Float = 1f, strokeAlpha: Float = 1f, pathFillType: PathFillType = DefaultFillType, pathBuilder: PathBuilder.() -> Unit) Adds a vector path to this icon with Material defaults. |
Top-level functions
materialIcon
inline fun materialIcon(
name: String,
block: ImageVector.Builder.() -> ImageVector.Builder
): ImageVector
Utility delegate to construct a Material icon with default size information. This is used by generated icons, and should not be used manually.
Parameters | |
---|---|
name: String | the full name of the generated icon |
block: ImageVector.Builder.() -> ImageVector.Builder | builder lambda to add paths to this vector asset |
Extension functions
materialPath
inline fun ImageVector.Builder.materialPath(
fillAlpha: Float = 1f,
strokeAlpha: Float = 1f,
pathFillType: PathFillType = DefaultFillType,
pathBuilder: PathBuilder.() -> Unit
): ImageVector.Builder
Adds a vector path to this icon with Material defaults.
Parameters | |
---|---|
fillAlpha: Float = 1f | fill alpha for this path |
strokeAlpha: Float = 1f | stroke alpha for this path |
pathFillType: PathFillType = DefaultFillType | PathFillType for this path |
pathBuilder: PathBuilder.() -> Unit | builder lambda to add commands to this path |