stroke

fun stroke(color: String)

Sets the stroke attribute of the SVG element with a color string.

Parameters

color

The stroke color as a string.


fun stroke(color: Color)

Sets the stroke attribute of the SVG element with a Color object.

Parameters

color

The stroke color as a Color object.