CD-ROM Library

   



Summary

This chapter described how to define linear color gradients and radial color gradients, and how to combine these gradients with rectangles. You also saw how to specify CSS attributes for SVG elements, as well as the use of inheritance for propagating attribute values. The examples in this chapter showed you how to use the following SVG elements:

  • the SVG defs element for defining color gradients

  • the SVG linearGradient element for linear color gradients

  • the SVG radialGradient element for radial color gradients

  • the SVG polygon element for drawing rectangles

  • the SVG polyLine element for drawing rectangles

  • the SVG path element for drawing rectangles

  • the SVG polygon element for drawing parallelograms

  • internal and external stylesheets

  • inheriting style attributes



   



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