File:Ellipse gradient.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 400 × 150 pixels, file size: 300 bytes)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Licensing

Description
English: Linear gradient example
Date
Source http://www.w3schools.com/graphics/svg_grad_linear.asp
Author Sarang
SVG development
InfoField
 
The SVG code is valid.
 
This vector image was created with a text editor.
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

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current10:03, 11 December 2016Thumbnail for version as of 10:03, 11 December 2016400 × 150 (300 bytes)Sarang (talk | contribs){{Information |Description={{en|Linear gradient example}} |Date=2016-12-11 |Source=http://www.w3schools.com/graphics/svg_grad_linear.asp |Author={{Ut|Sarang}} |Other fields={{Igen|T|+|T= {{Created with code|h1=http://www.w3schools.com/graphics/svg_grad...

Metadata