HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

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

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

Examples

objectBoundingBox

userSpaceOnUse