Table 1. Gradient prefixes and arguments.
| Type | Prefix | Argument | Description |
|---|---|---|---|
| Linear
Gradient |
lingrad |
start=”x,y”
end=”x,y” stoplist=”r,g,b,a,stop1|r,g,b,a,stop2|...” |
x and y proportion (0-1) of where the gradient starts
x and y proportion (0-1) of where the gradient ends red,green,blue, and opacity values (0–255) at each stop, which is interpreted as a proportion |
| Radial
Gradient |
radgrad |
center=”x,y”
radius=”r” stoplist=”r,g,b,a,stop1|r,g,b,a,stop2|...” |
x and y proportion (0-1) of the gradient center
proportional (0-1) radius red,green,blue, and opacity values (0–255) at each stop, which is interpreted as a proportion |