fill

fun fill(color: String)

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

Parameters

color

The fill color as a string.


fun fill(color: Color)

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

Parameters

color

The fill color as a Color object.