File:Ellipse gradient.svg

Summary

Licensing

Description
English: Linear gradient example
Date
Source http://www.w3schools.com/graphics/svg_grad_linear.asp
Author Sarang
SVG development
InfoField
Source code
InfoField

Xml

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="150">
<defs>
  <linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%">
    <stop offset="0%" style="stop-color:rgb(255,255,0);stop-opacity:1" />
    <stop offset="100%" style="stop-color:rgb(255,0,0);stop-opacity:1" />
  </linearGradient>
</defs>
<ellipse cx="200" cy="70" rx="85" ry="55" fill="url(#grad1)" />
</svg>

Simplified code

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="150">
<linearGradient id="g">
<stop offset="0" stop-color="#FF0"/>
<stop offset="1" stop-color="#F00"/>
</linearGradient>
<ellipse cx="200" cy="70" rx="85" ry="55" fill="url(#g)"/>
</svg>
Public domain This image of simple geometry is ineligible for copyright and therefore in the public domain, because it consists entirely of information that is common property and contains no original authorship.
Heptagon
Heptagon
Category:PD shape#Ellipse%20gradient.svg Category:SVG simplification by gradienting Category:SVG example images
Category:PD-shape missing SDC copyright status Category:PD shape Category:SVG example images Category:SVG simplification by gradienting Category:Valid SVG created with Text Editor