Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <svg xmlns="http://www.w3.org/2000/svg"> |
michael@0 | 3 | <g color="ghostwhite"> |
michael@0 | 4 | <defs> |
michael@0 | 5 | <linearGradient id="linearGrad1" gradientUnits="objectBoundingBox" y1="0" x1="0" y2="1" x2="1" > |
michael@0 | 6 | <stop offset="000%" stop-color="orange" /> |
michael@0 | 7 | <stop offset="033%" stop-color="red" /> |
michael@0 | 8 | <stop offset="050%" stop-color="gold" /> |
michael@0 | 9 | <stop offset="066%" stop-color="red" /> |
michael@0 | 10 | <stop offset="100%" stop-color="orange" /> |
michael@0 | 11 | </linearGradient> |
michael@0 | 12 | |
michael@0 | 13 | <radialGradient id="radialGrad1" gradientUnits="objectBoundingBox" cx="0.5" cy="0.5" r="0.5" fx="0.15" fy="0.15" > |
michael@0 | 14 | <stop offset="000%" stop-color="orange" /> |
michael@0 | 15 | <stop offset="033%" stop-color="red" /> |
michael@0 | 16 | <stop offset="050%" stop-color="gold" /> |
michael@0 | 17 | <stop offset="066%" stop-color="red" /> |
michael@0 | 18 | <stop offset="100%" stop-color="orange" /> |
michael@0 | 19 | </radialGradient> |
michael@0 | 20 | </defs> |
michael@0 | 21 | |
michael@0 | 22 | <g> |
michael@0 | 23 | <rect id="rect1" x="0" y="0" width="200" height="125" stroke="none" /> |
michael@0 | 24 | <rect id="rect2" x="200" y="0" width="200" height="125" stroke="none" /> |
michael@0 | 25 | <rect id="rect3" x="0" y="125" width="200" height="125" stroke="none" fill="currentColor"/> |
michael@0 | 26 | <rect id="rect4" x="200" y="125" width="200" height="125" stroke="none" fill="url(#radialGrad1)" /> |
michael@0 | 27 | </g> |
michael@0 | 28 | </g> |
michael@0 | 29 | </svg> |