Fundamentals of SVG Programming: Concepts to Source Code (Graphics Series)

   


Key Constructs

A rectangle can be rendered using any of the following SVG snippets:

<path d="0,0 150,0 150,50 0,50 z"/> <polygon points="0,0 150,0 150,50 0,50"/> <polyLine points="0,0 150,0 150,50 0,50 z"/> <rect x="0" y="0" width="150" height="50"/>


   

Категории