gradientUnits
linearGradient
Description
The gradientUnits attribute for SVG specifies the coordinate system for attributes x1, y1, x2, and y2.
Syntax
Value
objectBoundingBox | userSpaceOnUse
Default
objectBoundingBox
Examples
objectBoundingBox
userSpaceOnUse
Links
Internal
External
radialGradient
Description
The gradientUnits attribute for SVG specifies the coordinate system for attributes cx, cy, r, fx, fy, and fr.
Syntax
Value
objectBoundingBox | userSpaceOnUse
Default
objectBoundingBox