This corresponds to the linearGradient SVG gradient. The argument is a list of pairs of offsets and styles. Optional arguments (e.g., "x1", "y1", "x2", "y2") are used to determine the orientation of the gradient.
i1 : Ellipse{(60,60),40,30, "fill"=>linearGradient{("0%","stop-color:red"),("100%","stop-color:yellow")}}
o1 = Ellipse{cache => CacheTable{} }
Center => | 60 |
| 60 |
| 0 |
| 1 |
fill => url(#Graphics_1611604574_1)
RadiusX => 40
RadiusY => 30
o1 : Ellipse
|
The object linearGradient is a function closure.