spreadMethod

fun spreadMethod(value: String)

Sets the spreadMethod attribute of the <linearGradient> element, which defines how the gradient is spread outside its bounds.

Parameters

value

The spread method value (e.g., "pad", "reflect", "repeat").