linearGradient-basic-03.svg 558 B

123456789101112131415
  1. <!--
  2. Any copyright is dedicated to the Public Domain.
  3. http://creativecommons.org/publicdomain/zero/1.0/
  4. -->
  5. <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
  6. xmlns:xlink="http://www.w3.org/1999/xlink">
  7. <title>Testing that spreadMethod="reflect" works</title>
  8. <linearGradient id="g" gradientUnits="objectBoundingBox"
  9. x1="0" x2="0.5" spreadMethod="reflect">
  10. <stop stop-color="blue" offset="0"/>
  11. <stop stop-color="yellow" offset="1"/>
  12. </linearGradient>
  13. <rect width="200" height="100" fill="url(#g)"/>
  14. </svg>