stopColor

fun stopColor(value: String)

Sets the stop-color attribute of the <stop> element with a color string.

Parameters

value

The stop color as a string.


fun stopColor(value: Color)

Sets the stop-color attribute of the <stop> element with a Color object.

Parameters

value

The stop color as a Color object.