paletteonPath

inline fun ImageVector.Builder.paletteonPath(fillAlpha: Float = 1.0f, strokeAlpha: Float = 1.0f, pathFillType: PathFillType = DefaultFillType, fill: Color = Color.Black, stroke: Color? = null, strokeLineWidth: Float = 1.0f, strokeLineCap: StrokeCap = StrokeCap.Butt, strokeLineJoin: StrokeJoin = StrokeJoin.Bevel, strokeLineMiter: Float = 1.0f, pathBuilder: PathBuilder.() -> Unit): ImageVector.Builder

Adds a vector path to this icon using the default settings for the Paletteon library. This function simplifies adding paths to an icon, providing default values for path properties that align with Material Design standards.

Return

The ImageVector.Builder instance to continue building the vector image.

Parameters

fillAlpha

The alpha (opacity) for the fill color of this path.

strokeAlpha

The alpha (opacity) for the stroke color of this path.

pathFillType

The PathFillType that determines how the interior of the path is calculated.

fill

The Color used to fill the path. Default is black.

stroke

The Color used to stroke the path. If null, no stroke is applied.

strokeLineWidth

The width of the stroke for this path. Default is 1dp.

strokeLineCap

The StrokeCap that defines the shape of the ends of lines. Default is StrokeCap.Butt.

strokeLineJoin

The StrokeJoin that defines the shape of the corners of paths. Default is StrokeJoin.Bevel.

strokeLineMiter

The limit for the miter join. This value is used when strokeLineJoin is StrokeJoin.Miter.

pathBuilder

The lambda where path commands are defined to create the desired shape.