Creating Cylinders with Gradient Shading

   



Key Constructs

An ellipse can be rendered using the following SVG snippet:

<ellipse cx="100" cy="100" rx="80" ry="50"/>

A circle can be rendered using the following SVG snippet:

<circle cx="100" cy="100" r="50"/>

An elliptic arc can be rendered using the following SVG snippet:

<g transform="translate(50,50)">   <path d="M200,100 v-60 a120,60 0 0,1 -120,60 z"         fill="red" stroke="blue" stroke-width="2" /> </g>



   



Fundamentals of SVG Programming. Concepts to Source Code
Fundamentals of SVG Programming: Concepts to Source Code (Graphics Series)
ISBN: 1584502983
EAN: 2147483647
Year: 2003
Pages: 362

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net