gradientUnits

fun gradientUnits(value: String)

Sets the gradientUnits attribute of the <linearGradient> element, which specifies the coordinate system for the gradient.

Parameters

value

The gradient units as a string (e.g., "userSpaceOnUse").


Sets the gradientUnits attribute of the <linearGradient> element using the GradientUnits enum.

Parameters

value

The gradient units as a GradientUnits enum value.