path
Source set: JvmAndAndroid
public fun RemoteImageVector.Builder.path(
name: String = DefaultPathName,
fill: RemoteBrush? = null,
fillAlpha: RemoteFloat = 1.0f.rf,
stroke: RemoteBrush? = null,
strokeAlpha: RemoteFloat = 1.0f.rf,
strokeLineWidth: RemoteFloat = DefaultStrokeLineWidth,
strokeLineCap: RemoteStrokeCap = DefaultStrokeLineCap,
strokeLineJoin: RemoteStrokeJoin = DefaultStrokeLineJoin,
strokeLineMiter: RemoteFloat = DefaultStrokeLineMiter,
pathFillType: RemotePathFillType = DefaultFillType,
pathBuilder: RemotePathScope.() -> Unit,
): RemoteImageVector.Builder
Adds a path to this RemoteImageVector.Builder.
Parameters
| name | name for this path |
| fill | RemoteBrush used to fill the path |
| fillAlpha | alpha to fill the path |
| stroke | RemoteBrush used to stroke the path |
| strokeAlpha | alpha to stroke the path |
| strokeLineWidth | width of the line to stroke the path |
| strokeLineCap | RemoteStrokeCap for a stroked path |
| strokeLineJoin | RemoteStrokeJoin for a stroked path |
| strokeLineMiter | miter limit for a stroked path |
| pathFillType | RemotePathFillType winding rule that decides how the interior of a path is calculated |
| pathBuilder | RemotePathScope lambda for drawing commands in this path |
Return
this RemoteImageVector.Builder instance for chaining calls