<h2 id="path-name-fill-fillalpha-stroke-strokealpha-strokelinewidth-strokelinecap-strokelinejoin-strokelinemiter-pathfilltype-pathbuilder">path</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
public fun RemoteImageVector.Builder.path(
    name: String = DefaultPathName,
    fill: Brush? = null,
    fillAlpha: RemoteFloat = 1.0f.rf,
    stroke: Brush? = null,
    strokeAlpha: RemoteFloat = 1.0f.rf,
    strokeLineWidth: RemoteFloat = DefaultStrokeLineWidth,
    strokeLineCap: StrokeCap = DefaultStrokeLineCap,
    strokeLineJoin: StrokeJoin = DefaultStrokeLineJoin,
    strokeLineMiter: RemoteFloat = DefaultStrokeLineMiter,
    pathFillType: PathFillType = DefaultFillType,
    pathBuilder: RemotePathBuilder.() -> Unit,
): RemoteImageVector.Builder
```

DSL extension for adding a `RemoteVectorPath` to `this`.

#### Parameters

| | |
| --- | --- |
| name | the name for this path |
| fill | specifies the [Brush](/jetpack-compose/androidx.compose.ui/ui-graphics/classes/Brush) used to fill the path |
| fillAlpha | the alpha to fill the path |
| stroke | specifies the [Brush](/jetpack-compose/androidx.compose.ui/ui-graphics/classes/Brush) used to fill the stroke |
| strokeAlpha | the alpha to stroke the path |
| strokeLineWidth | the width of the line to stroke the path |
| strokeLineCap | specifies the linecap for a stroked path |
| strokeLineJoin | specifies the linejoin for a stroked path |
| strokeLineMiter | specifies the miter limit for a stroked path |
| pathFillType | specifies the winding rule that decides how the interior of a [Path](/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/path) is calculated. |
| pathBuilder | [RemotePathBuilder](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemotePathBuilder) lambda for adding `RemotePathNode`s to this path. |