offset attribute | offset property
Gets or sets a value that indicates where the gradient stop is placed within the gradient.
<element offset="p" ... >
p = object.offset
The location of the gradient stop.
- Scalable Vector Graphics: Gradients and Patterns, Section 13.4.4
The offset is a number (typically ranging from 0 through 1) that indicates where the gradient stop is placed. For linear gradients, the offset represents a location along the gradient vector. For radial gradients, the offset represents a percentage distance from the (fx,fy) point to the edge of the largest (that is, outermost) circle.
Build date: 11/17/2013