gradientUnits

fun gradientUnits(value: String)

Sets the gradientUnits attribute of the <radialGradient> 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 <radialGradient> element using the GradientUnits enum.

Parameters

value

The gradient units as a GradientUnits enum value.