androidx.ui.material.icons

Top-level functions summary

Lazy<VectorAsset>

Utility delegate to construct a lazily initialized Material icon with default size information.

Extension functions summary

For VectorAssetBuilder
VectorAssetBuilder
VectorAssetBuilder.materialPath(fillAlpha: Float = 1f, strokeAlpha: Float = 1f, pathBuilder: PathBuilder.() -> Unit)

Adds a vector path to this icon with sane Material defaults.

Top-level functions

lazyMaterialIcon

fun lazyMaterialIcon(block: VectorAssetBuilder.() -> VectorAssetBuilder): Lazy<VectorAsset>

Utility delegate to construct a lazily initialized Material icon with default size information. This is used by generated icons, and should not be used manually.

Parameters
block: VectorAssetBuilder.() -> VectorAssetBuilder builder lambda to add paths to this vector asset

Extension functions

materialPath

fun VectorAssetBuilder.materialPath(
    fillAlpha: Float = 1f,
    strokeAlpha: Float = 1f,
    pathBuilder: PathBuilder.() -> Unit
): VectorAssetBuilder

Adds a vector path to this icon with sane Material defaults.

Parameters
fillAlpha: Float = 1f fill alpha for this path
strokeAlpha: Float = 1f stroke alpha for this path
pathBuilder: PathBuilder.() -> Unit builder lambda to add commands to this path