Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!-- |
michael@0 | 2 | Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/publicdomain/zero/1.0/ |
michael@0 | 4 | --> |
michael@0 | 5 | <svg xmlns="http://www.w3.org/2000/svg"> |
michael@0 | 6 | <linearGradient id="g" gradientUnits="userSpaceOnUse" x1="100" y1="100" x2="500" y2="500"> |
michael@0 | 7 | <stop stop-color="red"/> |
michael@0 | 8 | <stop stop-color="yellow" offset="1"/> |
michael@0 | 9 | </linearGradient> |
michael@0 | 10 | <rect x="100" y="100" width="400" height="400" fill="url(#g)"/> |
michael@0 | 11 | </svg> |