<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://commons.oreilly.com/wiki/skins/common/feed.css?97"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>SVG Essentials/Basic Shapes - Revision history</title>
		<link>http://commons.oreilly.com/wiki/index.php?title=SVG_Essentials/Basic_Shapes&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.11.0</generator>
		<lastBuildDate>Tue, 21 May 2013 20:03:33 GMT</lastBuildDate>
		<item>
			<title>Docbook2Wiki: Initial conversion from Docbook</title>
			<link>http://commons.oreilly.com/wiki/index.php?title=SVG_Essentials/Basic_Shapes&amp;diff=7369&amp;oldid=prev</link>
			<description>&lt;p&gt;Initial conversion from Docbook&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:40, 7 March 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;</description>
			<pubDate>Fri, 07 Mar 2008 13:40:50 GMT</pubDate>			<dc:creator>Docbook2Wiki</dc:creator>			<comments>http://commons.oreilly.com/wiki/index.php/Talk:SVG_Essentials/Basic_Shapes</comments>		</item>
		<item>
			<title>Docbook2Wiki: Initial conversion from Docbook</title>
			<link>http://commons.oreilly.com/wiki/index.php?title=SVG_Essentials/Basic_Shapes&amp;diff=6034&amp;oldid=prev</link>
			<description>&lt;p&gt;Initial conversion from Docbook&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:51, 7 March 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;</description>
			<pubDate>Fri, 07 Mar 2008 12:51:41 GMT</pubDate>			<dc:creator>Docbook2Wiki</dc:creator>			<comments>http://commons.oreilly.com/wiki/index.php/Talk:SVG_Essentials/Basic_Shapes</comments>		</item>
		<item>
			<title>Evanlenz: 1 revision(s)</title>
			<link>http://commons.oreilly.com/wiki/index.php?title=SVG_Essentials/Basic_Shapes&amp;diff=3698&amp;oldid=prev</link>
			<description>&lt;p&gt;1 revision(s)&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 23:40, 6 March 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;</description>
			<pubDate>Thu, 06 Mar 2008 23:40:31 GMT</pubDate>			<dc:creator>Evanlenz</dc:creator>			<comments>http://commons.oreilly.com/wiki/index.php/Talk:SVG_Essentials/Basic_Shapes</comments>		</item>
		<item>
			<title>Docbook2Wiki: Initial conversion from Docbook</title>
			<link>http://commons.oreilly.com/wiki/index.php?title=SVG_Essentials/Basic_Shapes&amp;diff=3697&amp;oldid=prev</link>
			<description>&lt;p&gt;Initial conversion from Docbook&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 23:33, 6 March 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;</description>
			<pubDate>Thu, 06 Mar 2008 23:33:32 GMT</pubDate>			<dc:creator>Docbook2Wiki</dc:creator>			<comments>http://commons.oreilly.com/wiki/index.php/Talk:SVG_Essentials/Basic_Shapes</comments>		</item>
		<item>
			<title>Evanlenz: 1 revision(s)</title>
			<link>http://commons.oreilly.com/wiki/index.php?title=SVG_Essentials/Basic_Shapes&amp;diff=3239&amp;oldid=prev</link>
			<description>&lt;p&gt;1 revision(s)&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:52, 6 March 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;</description>
			<pubDate>Thu, 06 Mar 2008 22:52:40 GMT</pubDate>			<dc:creator>Evanlenz</dc:creator>			<comments>http://commons.oreilly.com/wiki/index.php/Talk:SVG_Essentials/Basic_Shapes</comments>		</item>
		<item>
			<title>Docbook2Wiki: Initial conversion from Docbook</title>
			<link>http://commons.oreilly.com/wiki/index.php?title=SVG_Essentials/Basic_Shapes&amp;diff=3238&amp;oldid=prev</link>
			<description>&lt;p&gt;Initial conversion from Docbook&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:38, 6 March 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;</description>
			<pubDate>Thu, 06 Mar 2008 22:38:57 GMT</pubDate>			<dc:creator>Docbook2Wiki</dc:creator>			<comments>http://commons.oreilly.com/wiki/index.php/Talk:SVG_Essentials/Basic_Shapes</comments>		</item>
		<item>
			<title>Evanlenz: 1 revision(s)</title>
			<link>http://commons.oreilly.com/wiki/index.php?title=SVG_Essentials/Basic_Shapes&amp;diff=2653&amp;oldid=prev</link>
			<description>&lt;p&gt;1 revision(s)&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:22, 6 March 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;</description>
			<pubDate>Thu, 06 Mar 2008 22:22:00 GMT</pubDate>			<dc:creator>Evanlenz</dc:creator>			<comments>http://commons.oreilly.com/wiki/index.php/Talk:SVG_Essentials/Basic_Shapes</comments>		</item>
		<item>
			<title>Docbook2Wiki: Initial conversion from Docbook</title>
			<link>http://commons.oreilly.com/wiki/index.php?title=SVG_Essentials/Basic_Shapes&amp;diff=2652&amp;oldid=prev</link>
			<description>&lt;p&gt;Initial conversion from Docbook&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:21, 6 March 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-1. Basic lines'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-1. Basic lines'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt39&lt;/del&gt;.png|Basic lines]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt39&lt;/ins&gt;.png|Basic lines]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-2. Demonstration of stroke-width'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-2. Demonstration of stroke-width'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt40&lt;/del&gt;.png|Demonstration of stroke-width]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt40&lt;/ins&gt;.png|Demonstration of stroke-width]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 96:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 96:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-3. Demonstration of stroke color'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-3. Demonstration of stroke color'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt41&lt;/del&gt;.png|Demonstration of stroke color]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt41&lt;/ins&gt;.png|Demonstration of stroke color]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 123:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 123:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-4. Demonstration of stroke-opacity'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-4. Demonstration of stroke-opacity'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt42&lt;/del&gt;.png|Demonstration of stroke-opacity]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt42&lt;/ins&gt;.png|Demonstration of stroke-opacity]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 158:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 158:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-5. Demonstration of stroke-dasharray'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-5. Demonstration of stroke-dasharray'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt43&lt;/del&gt;.png|Demonstration of stroke-dasharray]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt43&lt;/ins&gt;.png|Demonstration of stroke-dasharray]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 193:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 193:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-6. Demonstration of the rect element'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-6. Demonstration of the rect element'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt44&lt;/del&gt;.png|Demonstration of the rect element]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt44&lt;/ins&gt;.png|Demonstration of the rect element]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 205:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 205:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-7. Closeup of transparent border'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-7. Closeup of transparent border'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt45&lt;/del&gt;.png|Closeup of transparent border]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt45&lt;/ins&gt;.png|Closeup of transparent border]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 242:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 242:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-8. Demonstration of rounded rectangles'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-8. Demonstration of rounded rectangles'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt46&lt;/del&gt;.png|Demonstration of rounded rectangles]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt46&lt;/ins&gt;.png|Demonstration of rounded rectangles]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 271:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 271:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-9. Demonstration of circle and ellipse elements'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-9. Demonstration of circle and ellipse elements'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt47&lt;/del&gt;.png|Demonstration of circle&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt47&lt;/ins&gt;.png|Demonstration of circle&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;    and ellipse elements]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;    and ellipse elements]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 307:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 307:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-10. Demonstration of the polygon element'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-10. Demonstration of the polygon element'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt48&lt;/del&gt;.png|Demonstration of the polygon element]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt48&lt;/ins&gt;.png|Demonstration of the polygon element]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 328:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 328:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-11. Unfilled polygon with intersecting lines'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-11. Unfilled polygon with intersecting lines'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt49&lt;/del&gt;.png|Unfilled polygon with intersecting lines]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt49&lt;/ins&gt;.png|Unfilled polygon with intersecting lines]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 350:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 350:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-12. Effect of different fill-rules'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-12. Effect of different fill-rules'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt50&lt;/del&gt;.png|Effect of different fill-rules]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt50&lt;/ins&gt;.png|Effect of different fill-rules]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 381:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 381:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-13. Example of the polyline element'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-13. Example of the polyline element'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt51&lt;/del&gt;.png|Example of the polyline element]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt51&lt;/ins&gt;.png|Example of the polyline element]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 393:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 393:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-14. Example of filled polyline'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-14. Example of filled polyline'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt52&lt;/del&gt;.png|Example of filled polyline]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt52&lt;/ins&gt;.png|Example of filled polyline]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 420:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 420:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-15. Values of the stroke-linecap attribute'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-15. Values of the stroke-linecap attribute'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt53&lt;/del&gt;.png|Values of the stroke-linecap attribute]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt53&lt;/ins&gt;.png|Values of the stroke-linecap attribute]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 447:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 447:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-16. Values of the stroke-linejoin attribute'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Figure 3-16. Values of the stroke-linejoin attribute'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials/I_3_tt54&lt;/del&gt;.png|Values of the stroke-linejoin attribute]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Image:SVG &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Essentials_I_3_tt54&lt;/ins&gt;.png|Values of the stroke-linejoin attribute]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikicontent:diff:version:1.11a:oldid:2417:newid:2652 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 06 Mar 2008 22:21:01 GMT</pubDate>			<dc:creator>Docbook2Wiki</dc:creator>			<comments>http://commons.oreilly.com/wiki/index.php/Talk:SVG_Essentials/Basic_Shapes</comments>		</item>
		<item>
			<title>Docbook2Wiki: Initial conversion from Docbook</title>
			<link>http://commons.oreilly.com/wiki/index.php?title=SVG_Essentials/Basic_Shapes&amp;diff=2417&amp;oldid=prev</link>
			<description>&lt;p&gt;Initial conversion from Docbook&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{SVG Essentials/TOC}}&lt;br /&gt;
Once a coordinate system is established in the &amp;lt;tt&amp;gt;&amp;lt;svg&amp;gt;&amp;lt;/tt&amp;gt; tag, you are ready to begin drawing. In this chapter, we will show the basic shapes you can use to create the major elements of most drawings: lines, rectangles, polygons, circles, and ellipses.&lt;br /&gt;
&lt;br /&gt;
== Lines ==&lt;br /&gt;
&lt;br /&gt;
SVG lets you draw a straight line with the &amp;lt;tt&amp;gt;&amp;lt;line&amp;gt;&amp;lt;/tt&amp;gt; element. Just specify the ''x''- and ''y''-coordinates of the line's endpoints. Coordinates may be specified without units, in which case they are considered to be user coordinates, or with units such as &amp;lt;tt&amp;gt;em&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;in&amp;lt;/tt&amp;gt;, etc. as described in [[SVG Essentials/Coordinates|Chapter 2]], in [[SVG Essentials/Coordinates#The Viewport|Section 2.1]]. The SVG in [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-1|Example 3-1]] draws several lines; the reference grid in [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-1|Figure 3-1]] is not part of the SVG that you see here.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;line x1=&amp;quot;''start-x''&amp;quot; y1=&amp;quot;''start-y''&amp;quot;&lt;br /&gt;
  x2=&amp;quot;''end-x''&amp;quot; y2=&amp;quot;''end-y''&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-1&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-1. Basic lines'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;svg width=&amp;quot;200px&amp;quot; height=&amp;quot;200px&amp;quot; viewBox=&amp;quot;0 0 200 200&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;amp;lt;!-- horizontal line --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;40&amp;quot; y1=&amp;quot;20&amp;quot; x2=&amp;quot;80&amp;quot; y2=&amp;quot;20&amp;quot; style=&amp;quot;stroke: black;&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;amp;lt;!-- vertical line --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;0.7cm&amp;quot; y1=&amp;quot;1cm&amp;quot; x2=&amp;quot;0.7cm&amp;quot; y2=&amp;quot;2.0cm&amp;quot; style=&amp;quot;stroke: black;&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;amp;lt;!-- diagonal line --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;30&amp;quot; y1=&amp;quot;30&amp;quot; x2=&amp;quot;85&amp;quot; y2=&amp;quot;85&amp;quot; style=&amp;quot;stroke: black;&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-1&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-1. Basic lines'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt39.png|Basic lines]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Stroke Characteristics ==&lt;br /&gt;
&lt;br /&gt;
Lines are considered to be strokes of a pen that draws on the canvas. The size, color, and style of the pen stroke are part of the line's presentation. Thus, these characteristics will go into the &amp;lt;tt&amp;gt;style&amp;lt;/tt&amp;gt; attribute.&lt;br /&gt;
&lt;br /&gt;
=== stroke-width ===&lt;br /&gt;
&lt;br /&gt;
As mentioned in [[SVG Essentials/Coordinates|Chapter 2]], the canvas grid lines are infinitely thin. Where, then, does a line or stroke fall in relation to the grid line? The answer is that the grid line falls in the center of a stroke. [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-2|Example 3-2]] draws some lines where the stroke width has been set to ten user coordinates to make the effect obvious. The result, in [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-2|Figure 3-2]], has the grid lines drawn in so you can see the effect clearly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-2&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-2. Demonstration of stroke-width'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;svg width=&amp;quot;200px&amp;quot; height=&amp;quot;200px&amp;quot; viewBox=&amp;quot;0 0 200 200&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;amp;lt;!-- horizontal line --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;30&amp;quot; y1=&amp;quot;10&amp;quot; x2=&amp;quot;80&amp;quot; y2=&amp;quot;10&amp;quot;&lt;br /&gt;
       style=&amp;quot;stroke-width: 10; stroke: black;&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;amp;lt;!-- vertical line --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;30&amp;quot; x2=&amp;quot;10&amp;quot; y2=&amp;quot;80&amp;quot;&lt;br /&gt;
       style=&amp;quot;stroke-width: 10; stroke: black;&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;amp;lt;!-- diagonal line --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;25&amp;quot; y1=&amp;quot;25&amp;quot; x2=&amp;quot;75&amp;quot; y2=&amp;quot;75&amp;quot;&lt;br /&gt;
       style=&amp;quot;stroke-width: 10; stroke: black;&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-2&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-2. Demonstration of stroke-width'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt40.png|Demonstration of stroke-width]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== stroke Color ===&lt;br /&gt;
&lt;br /&gt;
You can specify the stroke color in a variety of ways:&lt;br /&gt;
&lt;br /&gt;
* One of the color keyword names: &amp;lt;tt&amp;gt;aqua&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;black&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;blue&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;fuchsia&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;gray&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;green&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;lime&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;maroon&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;navy&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;olive&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;purple&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;red&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;silver&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;teal&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;white&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;yellow&amp;lt;/tt&amp;gt;.&lt;br /&gt;
* A six-digit hexadecimal specifier in the form &amp;lt;tt&amp;gt;#&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''rr''&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''gg''&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''bb''&amp;lt;/tt&amp;gt;, where &amp;lt;tt&amp;gt;''rr''&amp;lt;/tt&amp;gt; is the red component, &amp;lt;tt&amp;gt;''gg''&amp;lt;/tt&amp;gt; is the green component, and &amp;lt;tt&amp;gt;''bb''&amp;lt;/tt&amp;gt; is the blue component in the range &amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;-&amp;lt;tt&amp;gt;ff&amp;lt;/tt&amp;gt;.&lt;br /&gt;
* A three-digit hexadecimal specifier in the form &amp;lt;tt&amp;gt;#&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''r''&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''g''&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''b''&amp;lt;/tt&amp;gt;, where &amp;lt;tt&amp;gt;''r''&amp;lt;/tt&amp;gt; is the red component, &amp;lt;tt&amp;gt;''g''&amp;lt;/tt&amp;gt; is the green component, and &amp;lt;tt&amp;gt;''b''&amp;lt;/tt&amp;gt; is the blue component in the range &amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;-&amp;lt;tt&amp;gt;f&amp;lt;/tt&amp;gt;. This is a shorthand form of the previous method of specifying color. To produce the six-digit equivalent, each digit of the short form is duplicated; thus &amp;lt;tt&amp;gt;#d6e&amp;lt;/tt&amp;gt; is the same as &amp;lt;tt&amp;gt;#dd66ee&amp;lt;/tt&amp;gt;.&lt;br /&gt;
* An &amp;lt;tt&amp;gt;rgb&amp;lt;/tt&amp;gt; specifier in the form &amp;lt;tt&amp;gt;rgb(&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''red-value''&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;,&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''green-value''&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;,&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''blue-value''&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;)&amp;lt;/tt&amp;gt;, where each value is in the range &amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;-&amp;lt;tt&amp;gt;255&amp;lt;/tt&amp;gt; or a percentage in the range &amp;lt;tt&amp;gt;0%&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;100%&amp;lt;/tt&amp;gt;. [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-3|Example 3-3]] uses all of these methods, with the colorful results of [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-3|Figure 3-3]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-3&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-3. Demonstration of stroke color'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;svg width=&amp;quot;200px&amp;quot; height=&amp;quot;200px&amp;quot; viewBox=&amp;quot;0 0 200 200&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;amp;lt;!-- red --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;10&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;10&amp;quot;&lt;br /&gt;
       style=&amp;quot;stroke: red; stroke-width: 5;&amp;quot;/&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
    &amp;amp;lt;!-- light green --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;20&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;20&amp;quot;&lt;br /&gt;
       style=&amp;quot;stroke: #9f9; stroke-width: 5;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;amp;lt;!-- light blue --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;30&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;30&amp;quot;&lt;br /&gt;
       style=&amp;quot;stroke: #9999ff; stroke-width: 5;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;amp;lt;!-- medium orange --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;40&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;40&amp;quot;&lt;br /&gt;
       style=&amp;quot;stroke: rgb(255, 128, 64); stroke-width: 5;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;amp;lt;!-- deep purple --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;50&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;50&amp;quot;&lt;br /&gt;
       style=&amp;quot;stroke: rgb(60%, 20%, 60%); stroke-width: 5;&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-3&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-3. Demonstration of stroke color'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt41.png|Demonstration of stroke color]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== stroke-opacity ===&lt;br /&gt;
&lt;br /&gt;
Up to this point, all the lines in the example have been solid, obscuring anything beneath them. You control the opacity (which is the opposite of transparency) of a line by giving the &amp;lt;tt&amp;gt;stroke-opacity&amp;lt;/tt&amp;gt; a value from &amp;lt;tt&amp;gt;0.0&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;1.0&amp;lt;/tt&amp;gt;, where zero is completely transparent and one is completely opaque. A value less than zero will be changed to zero; a value greater than one will be changed to one. [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-4|Example 3-4]] varies the opacity from 0.2 to 1 in steps of 0.2, with the result in [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-4|Figure 3-4]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-4&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-4. Demonstration of stroke-opacity'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;svg width=&amp;quot;200px&amp;quot; height=&amp;quot;200px&amp;quot; viewBox=&amp;quot;0 0 200 200&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;10&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;10&amp;quot;&lt;br /&gt;
       style=&amp;quot;stroke-opacity: 0.2; stroke: black; stroke-width: 5;&amp;quot;/&amp;gt; &lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;20&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;20&amp;quot;&lt;br /&gt;
       style=&amp;quot;stroke-opacity: 0.4; stroke: black; stroke-width: 5;&amp;quot;/&amp;gt; &lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;30&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;30&amp;quot;&lt;br /&gt;
       style=&amp;quot;stroke-opacity: 0.6; stroke: black; stroke-width: 5;&amp;quot;/&amp;gt; &lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;40&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;40&amp;quot;&lt;br /&gt;
       style=&amp;quot;stroke-opacity: 0.8; stroke: black; stroke-width: 5;&amp;quot;/&amp;gt; &lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;50&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;50&amp;quot; &lt;br /&gt;
       style=&amp;quot;stroke-opacity: 1.0; stroke: black; stroke-width: 5;&amp;quot;/&amp;gt; &lt;br /&gt;
 &amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-4&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-4. Demonstration of stroke-opacity'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt42.png|Demonstration of stroke-opacity]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== stroke-dasharray attribute ===&lt;br /&gt;
&lt;br /&gt;
If you need dotted or dashed lines, use the &amp;lt;tt&amp;gt;stroke-dasharray&amp;lt;/tt&amp;gt; attribute, whose value consists of a list of numbers, separated by commas or white- space, specifying dash length and gaps. The list should have an even number of entries, but if you give an odd number of entries, SVG will repeat the list so the total number of entries is even. (See the last instance in [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-5|Example 3-5]].)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-5&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-5. Demonstration of stroke-dasharray'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;svg width=&amp;quot;200px&amp;quot; height=&amp;quot;200px&amp;quot; viewBox=&amp;quot;0 0 200 200&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;amp;lt;!-- nine-pixel dash, five-pixel gap --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;10&amp;quot; x2=&amp;quot;100&amp;quot; y2=&amp;quot;10&amp;quot;&lt;br /&gt;
        style=&amp;quot;stroke-dasharray: 9, 5;&lt;br /&gt;
        stroke: black; stroke-width: 2;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;amp;lt;!-- five-pixel dash, three-pixel gap, nine-pixel dash, two-pixel gap --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;20&amp;quot; x2=&amp;quot;100&amp;quot; y2=&amp;quot;20&amp;quot;&lt;br /&gt;
        style=&amp;quot;stroke-dasharray: 5, 3, 9, 2;&lt;br /&gt;
        stroke: black; stroke-width: 2;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;amp;lt;!-- Odd number of entries is duplicated; this is equivalent to:&lt;br /&gt;
         nine-pixel dash, three-pixel gap,  five-pixel dash, &lt;br /&gt;
         nine-pixel gap,  three-pixel dash, five-pixel gap --&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;30&amp;quot; x2=&amp;quot;100&amp;quot; y2=&amp;quot;30&amp;quot;&lt;br /&gt;
        style=&amp;quot;stroke-dasharray: 9, 3, 5;&lt;br /&gt;
        stroke: black; stroke-width: 2;&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-5|Figure 3-5]] shows the results, zoomed in for clarity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-5&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-5. Demonstration of stroke-dasharray'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt43.png|Demonstration of stroke-dasharray]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rectangles ==&lt;br /&gt;
&lt;br /&gt;
The rectangle is the simplest of the basic shapes. You specify the ''x''- and ''y''-coordinates of the upper left corner of the rectangle,&amp;lt;ref&amp;gt;Technically, the &amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt; value is the smaller of the ''x''-coordinate values and the &amp;lt;tt&amp;gt;y&amp;lt;/tt&amp;gt; is the smaller of the ''y''-coordinate values of the rectangle's sides in the current user coordinate system. Since we are not yet using transformations, which we will cover in [[SVG Essentials/Transforming the Coordinate System|Chapter 5]], this is the moral equivalent of the upper left corner.&amp;lt;/ref&amp;gt; its &amp;lt;tt&amp;gt;width&amp;lt;/tt&amp;gt;, and its &amp;lt;tt&amp;gt;height&amp;lt;/tt&amp;gt;. The interior of the rectangle is filled with the &amp;lt;tt&amp;gt;fill&amp;lt;/tt&amp;gt; color you specify. If you do not specify a fill color, the interior of the shape is filled with black. The fill color may be specified in any of the ways described in [[SVG Essentials/Basic Shapes#stroke Color|Section 3.2.2]], or it may take the value &amp;lt;tt&amp;gt;none&amp;lt;/tt&amp;gt; to leave the interior unfilled and thus transparent. You may also specify a &amp;lt;tt&amp;gt;fill-opacity&amp;lt;/tt&amp;gt; in the same format as you did in [[SVG Essentials/Basic Shapes#stroke-opacity|Section 3.2.3]]. Both &amp;lt;tt&amp;gt;fill&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;fill-opacity&amp;lt;/tt&amp;gt; are presentation properties, and belong in the &amp;lt;tt&amp;gt;style&amp;lt;/tt&amp;gt; attribute.&lt;br /&gt;
&lt;br /&gt;
After the interior is filled (if necessary), the outline of the rectangle is drawn with strokes, whose characteristics you may specify as you did for lines. If you do not specify a stroke, the value &amp;lt;tt&amp;gt;none&amp;lt;/tt&amp;gt; is presumed, and no outline is drawn. [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-6|Example 3-6]] draws several variations of the &amp;lt;tt&amp;gt;&amp;lt;rect&amp;gt;&amp;lt;/tt&amp;gt; element. [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-6|Figure 3-6]] shows the result, with a grid for reference.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-6&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-6. Demonstration of the rectangle element'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;svg width=&amp;quot;200px&amp;quot; height=&amp;quot;200px&amp;quot; viewBox=&amp;quot;0 0 200 200&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;amp;lt;!-- black interior, no outline --&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;10&amp;quot; y=&amp;quot;10&amp;quot; width=&amp;quot;30&amp;quot; height=&amp;quot;50&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;amp;lt;!-- no interior, black outline --&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;50&amp;quot; y=&amp;quot;10&amp;quot; width=&amp;quot;20&amp;quot; height=&amp;quot;40&amp;quot;&lt;br /&gt;
       style=&amp;quot;fill: none; stroke: black;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;amp;lt;!-- blue interior, thick semi-transparent red outline --&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;10&amp;quot; y=&amp;quot;70&amp;quot; width=&amp;quot;25&amp;quot; height=&amp;quot;30&amp;quot;&lt;br /&gt;
       style=&amp;quot;fill: #0000ff;&lt;br /&gt;
          stroke: red; stroke-width: 7; stroke-opacity: 0.5;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;amp;lt;!-- semi-transparent yellow interior, dashed green outline --&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;50&amp;quot; y=&amp;quot;70&amp;quot; width=&amp;quot;35&amp;quot; height=&amp;quot;20&amp;quot;&lt;br /&gt;
        style=&amp;quot;fill: yellow; fill-opacity: 0.5;&lt;br /&gt;
           stroke: green; stroke-width: 2; stroke-dasharray: 5 2&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-6&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-6. Demonstration of the rect element'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt44.png|Demonstration of the rect element]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;note&amp;quot;&amp;gt;&lt;br /&gt;
'''Note'''&lt;br /&gt;
&lt;br /&gt;
Since the strokes that form the outline &amp;quot;straddle&amp;quot; the abstract grid lines, the strokes will be half inside the shape and half outside the shape. [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-7|Figure 3-7]], a closeup of the semi-transparent red outline drawn in [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-6|Example 3-6]], shows this clearly.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-7&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-7. Closeup of transparent border'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt45.png|Closeup of transparent border]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not specify a starting &amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;y&amp;lt;/tt&amp;gt; value, it is presumed to be zero. If you specify a &amp;lt;tt&amp;gt;width&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;height&amp;lt;/tt&amp;gt; of zero, then the rectangle is not displayed. It is an error to provide negative values for either &amp;lt;tt&amp;gt;width&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;height&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Rounded Rectangles ===&lt;br /&gt;
&lt;br /&gt;
If you wish to have rectangles with rounded corners, specify the ''x''- and ''y''-radius of the corner curvature. The maximum number you may specify for &amp;lt;tt&amp;gt;rx&amp;lt;/tt&amp;gt; (the ''x''-radius) is one-half the width of the rectangle; the maximum value of &amp;lt;tt&amp;gt;ry&amp;lt;/tt&amp;gt; (the ''y''-radius) is one-half the height of the rectangle. If you specify only one of &amp;lt;tt&amp;gt;rx&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;ry&amp;lt;/tt&amp;gt;, they are presumed to be equal. [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-7|Example 3-7]] shows various combinations of &amp;lt;tt&amp;gt;rx&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;ry&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-7&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-7. Demonstration of rounded rectangles'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;svg width=&amp;quot;200px&amp;quot; height=&amp;quot;200px&amp;quot; viewBox=&amp;quot;0 0 200 200&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;amp;lt;!-- rx and ry equal, increasing --&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;10&amp;quot; y=&amp;quot;10&amp;quot; width=&amp;quot;20&amp;quot; height=&amp;quot;40&amp;quot; rx=&amp;quot;2&amp;quot; ry=&amp;quot;2&amp;quot;&lt;br /&gt;
        style=&amp;quot;stroke: black; fill: none;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;rect x=&amp;quot;40&amp;quot; y=&amp;quot;10&amp;quot; width=&amp;quot;20&amp;quot; height=&amp;quot;40&amp;quot; rx=&amp;quot;5&amp;quot;&lt;br /&gt;
        style=&amp;quot;stroke: black; fill: none;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;rect x=&amp;quot;70&amp;quot; y=&amp;quot;10&amp;quot; width=&amp;quot;20&amp;quot; height=&amp;quot;40&amp;quot; ry=&amp;quot;10&amp;quot;&lt;br /&gt;
        style=&amp;quot;stroke: black; fill: none;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;amp;lt;!-- rx and ry unequal --&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;10&amp;quot; y=&amp;quot;60&amp;quot; width=&amp;quot;20&amp;quot; height=&amp;quot;40&amp;quot; rx=&amp;quot;10&amp;quot; ry=&amp;quot;5&amp;quot;&lt;br /&gt;
        style=&amp;quot;stroke: black; fill: none;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;rect x=&amp;quot;40&amp;quot; y=&amp;quot;60&amp;quot; width=&amp;quot;20&amp;quot; height=&amp;quot;40&amp;quot; rx=&amp;quot;5&amp;quot; ry=&amp;quot;10&amp;quot;&lt;br /&gt;
        style=&amp;quot;stroke: black; fill: none;&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-8|Figure 3-8]] shows the result, with a grid in the background for reference.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-8&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-8. Demonstration of rounded rectangles'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt46.png|Demonstration of rounded rectangles]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Circles and Ellipses ==&lt;br /&gt;
&lt;br /&gt;
To draw a circle, use the &amp;lt;tt&amp;gt;&amp;lt;circle&amp;gt;&amp;lt;/tt&amp;gt; element and specify the center ''x''-coordinate, center ''y''-coordinate, and radius with the &amp;lt;tt&amp;gt;cx&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;cy&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;r&amp;lt;/tt&amp;gt; attributes. As with a rectangle, the default is to fill the circle with black and draw no outline unless you specify some other combination of &amp;lt;tt&amp;gt;fill&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;stroke&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
An ellipse also needs an ''x''-radius and a ''y''-radius in addition to a center ''x''- and ''y''-coordinate. The attributes for these radii are named &amp;lt;tt&amp;gt;rx&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;ry&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In both circles and ellipses, if the &amp;lt;tt&amp;gt;cx&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;cy&amp;lt;/tt&amp;gt; is omitted, it is presumed to be zero. If the radius is zero, no shape will be displayed; it is an error to provide a negative radius. [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-8|Example 3-8]] draws some circles and ellipses which are shown in [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-9|Figure 3-9]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-8&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-8. Demonstration of circles and ellipses'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;svg width=&amp;quot;200px&amp;quot; height=&amp;quot;200px&amp;quot; viewBox=&amp;quot;0 0 200 200&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;30&amp;quot; cy=&amp;quot;30&amp;quot; r=&amp;quot;20&amp;quot; style=&amp;quot;stroke: black; fill: none;&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;80&amp;quot; cy=&amp;quot;30&amp;quot; r=&amp;quot;20&amp;quot;&lt;br /&gt;
       style=&amp;quot;stroke-width: 5; stroke: black; fill: none;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;ellipse cx=&amp;quot;30&amp;quot; cy=&amp;quot;80&amp;quot; rx=&amp;quot;10&amp;quot; ry=&amp;quot;20&amp;quot; &lt;br /&gt;
       style=&amp;quot;stroke: black; fill: none;&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;ellipse cx=&amp;quot;80&amp;quot; cy=&amp;quot;80&amp;quot; rx=&amp;quot;20&amp;quot; ry=&amp;quot;10&amp;quot; &lt;br /&gt;
       style=&amp;quot;stroke: black; fill: none;&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-9&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-9. Demonstration of circle and ellipse elements'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt47.png|Demonstration of circle&lt;br /&gt;
    and ellipse elements]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The polygon Element ==&lt;br /&gt;
&lt;br /&gt;
In addition to rectangles, circles, and ellipses, you may want to draw hexagons, octagons, stars, or arbitrary closed shapes. The &amp;lt;tt&amp;gt;&amp;lt;polygon&amp;gt;&amp;lt;/tt&amp;gt; element lets you specify a series of &amp;lt;tt&amp;gt;points&amp;lt;/tt&amp;gt; that describe a geometric area to be filled and outlined as described earlier. The &amp;lt;tt&amp;gt;points&amp;lt;/tt&amp;gt; attribute consists of a series of ''x''- and ''y''-coordinate pairs separated by commas or whitespace. You must give an even number of entries in the series of numbers. You don't have to return to the starting point; the shape will automatically be closed. [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-9|Example 3-9]] uses the &amp;lt;tt&amp;gt;&amp;lt;polygon&amp;gt;&amp;lt;/tt&amp;gt; element to draw a parallelogram, a star, and an irregular shape.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-9&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-9. Demonstration of the polygon element'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;svg width=&amp;quot;200px&amp;quot; height=&amp;quot;200px&amp;quot; viewBox=&amp;quot;0 0 200 200&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;amp;lt;!-- parallelogram --&amp;gt;&lt;br /&gt;
     &amp;lt;polygon points=&amp;quot;15,10  55, 10  45, 20  5, 20&amp;quot;&lt;br /&gt;
         style=&amp;quot;fill: red; stroke: black;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
     &amp;amp;lt;!-- star --&amp;gt;&lt;br /&gt;
     &amp;lt;polygon&lt;br /&gt;
         points=&amp;quot;35,37.5  37.9,46.1 46.9,46.1  39.7,51.5&lt;br /&gt;
             42.3,60.1  35,55  27.7,60.1  30.3,51.5&lt;br /&gt;
             23.1,46.1  32.1,46.1&amp;quot;&lt;br /&gt;
         style=&amp;quot;fill: #ccffcc; stroke: green;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
     &amp;amp;lt;!-- weird shape --&amp;gt;&lt;br /&gt;
     &amp;lt;polygon &lt;br /&gt;
         points=&amp;quot;60 60,  65 72,  80 60,  90 90, 72 80, 72 85, 50 95&amp;quot;&lt;br /&gt;
         style=&amp;quot;fill: yellow; fill-opacity: 0.5; stroke: black;&lt;br /&gt;
             stroke-width: 2;&amp;quot;/&amp;gt; &lt;br /&gt;
 &amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The results, with a grid in the background for reference, are displayed in [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-10|Figure 3-10]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-10&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-10. Demonstration of the polygon element'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt48.png|Demonstration of the polygon element]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Filling Polygons That Have Intersecting Lines ===&lt;br /&gt;
&lt;br /&gt;
For the polygons shown so far, it's been easy to fill the shape. Since none of the lines forming the polygon cross over one another, the interior is easily distinguished from the exterior of the shape. However, when lines cross over one another, the determination of what is inside the polygon is not as easy. The SVG in [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-10|Example 3-10]] draws such a polygon. In [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-11|Figure 3-11]], is the middle section of the star considered to be inside or outside?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-10&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-10. Unfilled polygon with intersecting lines'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;svg width=&amp;quot;200px&amp;quot; height=&amp;quot;200px&amp;quot; viewBox=&amp;quot;0 0 200 200&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;polygon  points=&amp;quot;48,16  16,96  96,48  0,48  80,96&amp;quot;&lt;br /&gt;
     style=&amp;quot;stroke: black; fill: none;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-11&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-11. Unfilled polygon with intersecting lines'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt49.png|Unfilled polygon with intersecting lines]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SVG has two different rules for determining whether a point is inside a polygon or outside it. The &amp;lt;tt&amp;gt;fill-rule&amp;lt;/tt&amp;gt; (which is part of presentation) has a value of either &amp;lt;tt&amp;gt;nonzero&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;evenodd&amp;lt;/tt&amp;gt;. Depending on the rule you choose, you get a different effect. [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-11|Example 3-11]] uses the rules to fill two diagrams of the star, as shown in [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-12|Figure 3-12]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-11&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-11. Effect of different fill-rules'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;svg width=&amp;quot;200px&amp;quot; height=&amp;quot;200px&amp;quot; viewBox=&amp;quot;0 0 200 200&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;polygon style=&amp;quot;fill-rule: nonzero; fill: yellow; stroke: black;&amp;quot;&lt;br /&gt;
     points=&amp;quot;48,16  16,96  96,48  0,48  80,96&amp;quot; /&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;polygon style=&amp;quot;fill-rule: evenodd;  fill: #00ff00; stroke: black;&amp;quot;&lt;br /&gt;
     points=&amp;quot;148,16  116,96  196,48  100,48  180,96&amp;quot; /&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-12&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-12. Effect of different fill-rules'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt50.png|Effect of different fill-rules]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sidebar&amp;quot;&amp;gt;&lt;br /&gt;
'''Explanation of the Fill Rules'''&lt;br /&gt;
&lt;br /&gt;
For the sake of completeness, we are describing how these &amp;lt;tt&amp;gt;fill-rules&amp;lt;/tt&amp;gt; work, but you don't need to know the details in order to use them. The &amp;lt;tt&amp;gt;nonzero&amp;lt;/tt&amp;gt; rule determines whether a point is inside or outside a polygon by drawing a line from the point in question to infinity. It counts how many times that line crosses the polygon's lines, adding one if the polygon line is going right to left, and subtracting one if the polygon line is going left to right. If the total comes out to zero, the point is outside the polygon. If the total is nonzero (hence the name) the point is inside the polygon.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;evenodd&amp;lt;/tt&amp;gt; rule also draws a line from the point in question to infinity, but it simply counts how many times that line crosses your polygon's lines. If the total number of crossings is odd, then the point is inside; if even, then the point is outside.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The polyline Element ==&lt;br /&gt;
&lt;br /&gt;
Finally, to round out our discussion of basic shapes, we'll return to straight lines. Sometimes you want a series of lines that does not make a closed shape. You can use multiple &amp;lt;tt&amp;gt;&amp;lt;line&amp;gt;&amp;lt;/tt&amp;gt; elements, but if there are many lines it might be easier to use the &amp;lt;tt&amp;gt;&amp;lt;polyline&amp;gt;&amp;lt;/tt&amp;gt; element. It has the same attributes as &amp;lt;tt&amp;gt;&amp;lt;polygon&amp;gt;&amp;lt;/tt&amp;gt;, except that the shape is not closed. [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-12|Example 3-12]] draws the symbol for an electrical resistor, shown in [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-13|Figure 3-13]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-12&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-12. Example of the polyline element'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;svg width=&amp;quot;200px&amp;quot; height=&amp;quot;200px&amp;quot; viewBox=&amp;quot;0 0 200 200&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;polyline&lt;br /&gt;
     points=&amp;quot;5 20, 20 20, 25 10, 35 30, 45 10,&lt;br /&gt;
         55 30, 65 10, 75 30, 80 20, 95 20&amp;quot;&lt;br /&gt;
     style=&amp;quot;stroke: black; stroke-width: 3; fill: none;&amp;quot;/&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-13&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-13. Example of the polyline element'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt51.png|Example of the polyline element]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;warning&amp;quot;&amp;gt;&lt;br /&gt;
'''Warning'''&lt;br /&gt;
&lt;br /&gt;
It's best to set the &amp;lt;tt&amp;gt;fill&amp;lt;/tt&amp;gt; property to &amp;lt;tt&amp;gt;none&amp;lt;/tt&amp;gt; when using &amp;lt;tt&amp;gt;&amp;lt;polyline&amp;gt;&amp;lt;/tt&amp;gt;; otherwise, the SVG viewer attempts to fill the shape, sometimes with startling results like those in [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-14|Figure 3-14]].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-14&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-14. Example of filled polyline'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt52.png|Example of filled polyline]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Line Caps and Joins ==&lt;br /&gt;
&lt;br /&gt;
When drawing a &amp;lt;tt&amp;gt;&amp;lt;line&amp;gt;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;lt;polyline&amp;gt;&amp;lt;/tt&amp;gt;, you may specify the shape of the endpoints of the lines by setting the &amp;lt;tt&amp;gt;stroke-linecap&amp;lt;/tt&amp;gt; style property to one of the values &amp;lt;tt&amp;gt;butt&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;round&amp;lt;/tt&amp;gt;, or &amp;lt;tt&amp;gt;square&amp;lt;/tt&amp;gt;. [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-13|Example 3-13]] shows these three values, with gray guide lines showing the actual endpoints of the lines. You can see in [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-15|Figure 3-15]] that &amp;lt;tt&amp;gt;round&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;square&amp;lt;/tt&amp;gt; extend beyond the end coordinates; &amp;lt;tt&amp;gt;butt&amp;lt;/tt&amp;gt;, the default, ends exactly at the specified endpoint.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-13&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-13. Values of the stroke-linecap property'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;15&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;15&amp;quot;&lt;br /&gt;
     style=&amp;quot;stroke-linecap: butt; stroke-width: 15;&amp;quot;/&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;45&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;45&amp;quot;&lt;br /&gt;
     style=&amp;quot;stroke-linecap: round; stroke-width: 15;&amp;quot;/&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;75&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;75&amp;quot;&lt;br /&gt;
     style=&amp;quot;stroke-linecap: square; stroke-width: 15;&amp;quot;/&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;!-- guide lines --&amp;gt;&lt;br /&gt;
 &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;0&amp;quot; x2=&amp;quot;10&amp;quot; y2=&amp;quot;100&amp;quot; style=&amp;quot;stroke: #999;&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;line x1=&amp;quot;50&amp;quot; y1=&amp;quot;0&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;100&amp;quot; style=&amp;quot;stroke: #999;&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-15&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-15. Values of the stroke-linecap attribute'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt53.png|Values of the stroke-linecap attribute]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may specify the way lines connect at the corners of a shape with the &amp;lt;tt&amp;gt;stroke-linejoin&amp;lt;/tt&amp;gt; style property, which may have the values &amp;lt;tt&amp;gt;miter&amp;lt;/tt&amp;gt; (pointed), &amp;lt;tt&amp;gt;round&amp;lt;/tt&amp;gt; (round -- what did you expect?), or &amp;lt;tt&amp;gt;bevel&amp;lt;/tt&amp;gt; (flat). [[SVG Essentials/Basic Shapes#svgess-CHP-3-EX-14|Example 3-14]] produces the result shown in [[SVG Essentials/Basic Shapes#svgess-CHP-3-FIG-16|Figure 3-16]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-EX-14&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 3-14. Values of the stroke-linejoin attribute'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;polyline&lt;br /&gt;
     style=&amp;quot;stroke-linejoin: miter; stroke: black; stroke-width: 12;&lt;br /&gt;
     fill: none;&amp;quot;&lt;br /&gt;
     points=&amp;quot;30 30, 45 15, 60 30&amp;quot;/&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;polyline&lt;br /&gt;
     style=&amp;quot;stroke-linejoin: round; stroke: black; stroke-width: 12;&lt;br /&gt;
     fill: none;&amp;quot;&lt;br /&gt;
     points=&amp;quot;90 30, 105 15, 120 30&amp;quot;/&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;polyline&lt;br /&gt;
     style=&amp;quot;stroke-linejoin: bevel; stroke-width: 12; stroke: black;&lt;br /&gt;
     fill: none;&amp;quot;&lt;br /&gt;
     points=&amp;quot;150 30, 165 15, 180 30&amp;quot;/&amp;gt; &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-FIG-16&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 3-16. Values of the stroke-linejoin attribute'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SVG Essentials/I_3_tt54.png|Values of the stroke-linejoin attribute]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;note&amp;quot;&amp;gt;&lt;br /&gt;
'''Note'''&lt;br /&gt;
&lt;br /&gt;
If your lines meet at a sharp angle and have a mitered join, it's possible for the pointed part to extend beyond the lines' thickness. You may set the ratio of the miter to the thickness of the lines being joined with the &amp;lt;tt&amp;gt;stroke-miterlimit&amp;lt;/tt&amp;gt; style property; its default value is 4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Basic Shapes Reference Summary ==&lt;br /&gt;
&lt;br /&gt;
The following tables summarize the basic shapes and presentation styles in SVG.&lt;br /&gt;
&lt;br /&gt;
=== Shape Elements ===&lt;br /&gt;
&lt;br /&gt;
[[SVG Essentials/Basic Shapes#svgess-CHP-3-TABLE-1|Table 3-1]] summarizes the basic shapes available in SVG.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-TABLE-1&amp;quot;&amp;gt;&lt;br /&gt;
'''Table 3-1. Table of shape elements'''&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! Shape !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;&amp;lt;line x1=&amp;quot;''start-x''&amp;quot; y1=&amp;quot;''start-y''&amp;quot; x2=&amp;quot;''end-x''&amp;quot; y2=&amp;quot;''end-y''&amp;quot;/&amp;gt;&amp;lt;/tt&amp;gt; || Draws a line from the starting point at coordinates (&amp;lt;tt&amp;gt;''start-x''&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;''start-y''&amp;lt;/tt&amp;gt;) to the ending point at coordinates (&amp;lt;tt&amp;gt;''end-x''&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;''end-y''&amp;lt;/tt&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;&amp;lt;rect x=&amp;quot;''left-x''&amp;quot; y=&amp;quot;''top-y''&amp;quot; width=&amp;quot;''width''&amp;quot; height=&amp;quot;''height''&amp;quot;/&amp;gt;&amp;lt;/tt&amp;gt; || Draws a rectangle whose upper left corner is at (&amp;lt;tt&amp;gt;''left-x''&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;''top-y''&amp;lt;/tt&amp;gt;) with the given &amp;lt;tt&amp;gt;''width''&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;''height''&amp;lt;/tt&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;&amp;lt;circle cx=&amp;quot;''center-x''&amp;quot; cy=&amp;quot;''center-y''&amp;quot; r=&amp;quot;''radius''&amp;quot;/&amp;gt;&amp;lt;/tt&amp;gt; || Draws a circle with the given &amp;lt;tt&amp;gt;''radius''&amp;lt;/tt&amp;gt;, centered at (&amp;lt;tt&amp;gt;''center-x''&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;''center-y''&amp;lt;/tt&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;&amp;lt;ellipse cx=&amp;quot;''center-x''&amp;quot; cy=&amp;quot;''center-y''&amp;quot; rx=&amp;quot;''x-radius''&amp;quot; ry=&amp;quot;''y-radius''&amp;quot;/&amp;gt;&amp;lt;/tt&amp;gt; || Draws an ellipse with the given &amp;lt;tt&amp;gt;''x-radius''&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;''y-radius''&amp;lt;/tt&amp;gt; centered at (&amp;lt;tt&amp;gt;''center-x''&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;''center-y''&amp;lt;/tt&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;&amp;lt;polygon points=&amp;quot;''points-specifications''&amp;quot;/&amp;gt;&amp;lt;/tt&amp;gt; || Draws an arbitrary closed polygon whose outline is described by the &amp;lt;tt&amp;gt;''points-specification''&amp;lt;/tt&amp;gt;. The points are specified as pairs of ''x''- and ''y''-coordinates. These are user coordinates only; you may not add a length unit specifier.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;&amp;lt;polyline points=&amp;quot;''points-specifications''&amp;quot;/&amp;gt;&amp;lt;/tt&amp;gt; || Draws an arbitrary series of connected lines as described by the &amp;lt;tt&amp;gt;''points-specification''&amp;lt;/tt&amp;gt;. The points are specified as pairs of ''x''- and ''y''-coordinates. These are user coordinates only; you may not add a length unit specifier.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In all but the last two elements of [[SVG Essentials/Basic Shapes#svgess-CHP-3-TABLE-1|Table 3-1]], you may specify the attributes as simple numbers, in which case they will be presumed to be measured in user coordinates, or you may add a length unit specifier such as &amp;lt;tt&amp;gt;mm&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt;, etc. For example: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;line x1=&amp;quot;1cm&amp;quot; y1=&amp;quot;30&amp;quot; width=&amp;quot;50&amp;quot; height=&amp;quot;10pt&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specifying Colors ===&lt;br /&gt;
&lt;br /&gt;
You may specify the color for filling or outlining a shape in one of the following ways:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;none&amp;lt;/tt&amp;gt;, indicating that no outline is to be drawn or that the shape is not to be filled.&lt;br /&gt;
* A color name, which is one of &amp;lt;tt&amp;gt;aqua&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;black&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;blue&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;fuchsia&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;gray&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;green&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;lime&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;maroon&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;navy&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;olive&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;purple&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;red&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;silver&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;teal&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;white&amp;lt;/tt&amp;gt;, or &amp;lt;tt&amp;gt;yellow&amp;lt;/tt&amp;gt;.&lt;br /&gt;
* Six hexadecimal digits &amp;lt;tt&amp;gt;#&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''rrggbb''&amp;lt;/tt&amp;gt;, each pair describing red, green, and blue values.&lt;br /&gt;
* Three hexadecimal digits &amp;lt;tt&amp;gt;#&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''rgb''&amp;lt;/tt&amp;gt;, describing the red, green, and blue values. This is a shorthand for the previous method; digits are replicated so that &amp;lt;tt&amp;gt;#&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''rgb''&amp;lt;/tt&amp;gt; is equivalent to &amp;lt;tt&amp;gt;#&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''rrggbb''&amp;lt;/tt&amp;gt;.&lt;br /&gt;
* &amp;lt;tt&amp;gt;rgb(&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''r''&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;,&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''g''&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;,&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''b''&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;)&amp;lt;/tt&amp;gt;, each value ranging from 0-255 or from 0% to 100%.&lt;br /&gt;
&lt;br /&gt;
=== Stroke and Fill Characteristics ===&lt;br /&gt;
&lt;br /&gt;
In order to see a line or the outline of a shape, you must specify the stroke characteristics, using the following attributes. A shape's outline is drawn after its interior is filled. All of these characteristics, summarized in [[SVG Essentials/Basic Shapes#svgess-CHP-3-TABLE-2|Table 3-2]], are presentation properties, and go in a &amp;lt;tt&amp;gt;style&amp;lt;/tt&amp;gt; attribute.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-TABLE-2&amp;quot;&amp;gt;&lt;br /&gt;
'''Table 3-2. Stroke characteristics'''&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! Attribute !! Values&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;stroke&amp;lt;/tt&amp;gt; || The stroke color, as described in [[SVG Essentials/Basic Shapes#Specifying Colors|Section 3.8.2]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;stroke-width&amp;lt;/tt&amp;gt; || Width of stroke; may be given as user coordinates or with a length specifier. The stroke width is centered along the abstract grid lines.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;stroke-opacity&amp;lt;/tt&amp;gt; || A number ranging from 0.0 to 1.0; 0.0 is entirely transparent, 1.0 is entirely opaque.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;stroke-dasharray&amp;lt;/tt&amp;gt; || A series of numbers that tell the length of dashes and gaps with which a line is to be drawn. These numbers are in user coordinates only.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;stroke-linecap&amp;lt;/tt&amp;gt; || Shape of the ends of a line; has one of the values &amp;lt;tt&amp;gt;butt&amp;lt;/tt&amp;gt; (the default), &amp;lt;tt&amp;gt;round&amp;lt;/tt&amp;gt;, or &amp;lt;tt&amp;gt;square&amp;lt;/tt&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;stroke-linejoin&amp;lt;/tt&amp;gt; || The shape of the corners of a polygon or series of lines; has one of the values &amp;lt;tt&amp;gt;miter&amp;lt;/tt&amp;gt; (pointed; the default), &amp;lt;tt&amp;gt;round&amp;lt;/tt&amp;gt;, or &amp;lt;tt&amp;gt;bevel&amp;lt;/tt&amp;gt; (flat).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;stroke-miterlimit&amp;lt;/tt&amp;gt; || Maximum ratio of length of the miter point to the width of the lines being drawn; the default value is 4.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can control the way in which the interior of a shape is to be filled by using one of the fill attributes shown in [[SVG Essentials/Basic Shapes#svgess-CHP-3-TABLE-3|Table 3-3]]. A shape is filled before its outline is drawn.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;svgess-CHP-3-TABLE-3&amp;quot;&amp;gt;&lt;br /&gt;
'''Table 3-3. Fill characteristics'''&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! Attribute !! Values&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;fill&amp;lt;/tt&amp;gt; || The fill color, as described in [[SVG Essentials/Basic Shapes#Specifying Colors|Section 3.8.2]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;fill-opacity&amp;lt;/tt&amp;gt; || A number ranging from 0.0 to 1.0; 0.0 is entirely transparent, 1.0 is entirely opaque.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;fill-rule&amp;lt;/tt&amp;gt; || This attribute can have the values &amp;lt;tt&amp;gt;nonzero&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;evenodd&amp;lt;/tt&amp;gt;, which apply different rules for determining whether a point is inside or outside a shape. These rules generate different effects only when a shape has intersecting lines or &amp;quot;holes&amp;quot; in it. Details are in [[SVG Essentials/Basic Shapes#Filling Polygons That Have Intersecting Lines|Section 3.5.1]] earlier in this chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</description>
			<pubDate>Tue, 04 Mar 2008 22:37:00 GMT</pubDate>			<dc:creator>Docbook2Wiki</dc:creator>			<comments>http://commons.oreilly.com/wiki/index.php/Talk:SVG_Essentials/Basic_Shapes</comments>		</item>
	</channel>
</rss>