Element eltype="rect" just been upgraded!
The new functionality includes the ability to specify gradient – changing color.
To use single-colored rectangle, keep using the old format:
<el eltype="rect" x="0" y="0" x2="R" y2="B" r="5"
c="0x006699" a="100" />
For gradient, use:
<el eltype="rect" x="0" y="0" x2="R" y2="B" r="5"
c1="0x006699" c2="0x003366" dir="90" a="100" />
where:
- c1 – starting color
- c2 – ending color
- dir – direction of gradient (in degrees) – 0 is left to right, 90 – top to bottom, etc






