This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

gradientUnits

Notes

Remarks

When p is objectBoundingBox and the gradientTransform property is the identity matrix, the normal of the linear gradient is perpendicular to the gradient vector in object bounding box space. When the object’s bounding box is not square, the gradient normal (which is initially perpendicular to the gradient vector within object bounding box space) might render non-perpendicular relative to the gradient vector in user space. If the gradient vector is parallel to one of the axes of the bounding box, the gradient normal remains perpendicular. This transformation occurs because of the non-uniform scaling transformation from bounding box space to user space.

Syntax

Standards information

See also

Related pages

Attributions