Scalable Vector Graphics/Figuren opmaken: verschil tussen versies

Naar navigatie springen Naar zoeken springen
 
===Code===
Een voorbeeld:
<span style='font-family: courier new'>
{{Voorbeeld|1=
<?xml version="1.0" standalone="no"?><br />
&#160;&#160;&#160;&#160;<rect width="400" height="200" fill="skyblue" /><br />
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><br />
&#160;&#160;&#160;&#160;<rect width="52400" height="52" x="173100" y="142200" fill="whitegreen" /><br />
<br />
<svgcircle widthcx="400px60" heightcy="300px35" versionr="1.120" xmlnsfill="http://www.w3.org/2000/svgyellow"><br />
&#160;&#160;&#160;&#160;<polygon points="150,220 150,120 250,40 350,120 350,220" fill="red" /><br />
&#160;&#160;&#160;&#160;<rect width="400" height="200" fill="skyblue" /><br />
&#160;&#160;&#160;&#160;<rect width="40055" height="10080" x="270" y="200140" fill="greenbrown" /><br />
&#160;&#160;&#160;&#160;<circleellipse cx="60275" cy="35170" rrx="202" fillry="yellow3" /><br />
&#160;&#160;&#160;&#160;<rect width="52" height="52" x="173" y="142" fill="bluewhite" opacity="0.2" /><br />
&#160;&#160;&#160;&#160;<polygon points="150,220 150,120 250,40 350,120 350,220" fill="red" /><br />
&#160;&#160;&#160;&#160;<rectellipse widthcx="55195" heightcy="80180" xrx="27014" yry="14016" fill="brownorange" /><br />
&#160;&#160;&#160;&#160;<ellipsecircle cx="275190" cy="170175" rxr="2" ry="3" /><br />
&#160;&#160;&#160;&#160;<circle cx="200" cy="175" r="2" /><br />
&#160;&#160;&#160;&#160;<rect width="52" height="52" x="173" y="142" fill="white" /><br />
&#160;&#160;&#160;&#160;<ellipsecircle cx="195" cy="180182" rxr="142" ry="16" fill="orange" /><br />
&#160;&#160;&#160;&#160;<circleline cxx1="190" cyy1="175188" rx2="200" y2="188" stroke-width="2" /><brstroke="black" />
&#160;&#160;&#160;&#160;<rect width="52" height="52" x="173" y="142" fill="noneblue" strokeopacity="brown0.2" stroke-width="5" /><br />
&#160;&#160;&#160;&#160;<circle cx="200" cy="175" r="2" /><br />
<rect width="52" height="52" x="173" y="142" fill="none" stroke="brown" stroke-width="5" />
&#160;&#160;&#160;&#160;<circle cx="195" cy="182" r="2" /><br />
}}
&#160;&#160;&#160;&#160;<line x1="190" y1="188" x2="200" y2="188" stroke-width="2" stroke="black" /><br />
 
&#160;&#160;&#160;&#160;<rect width="52" height="52" x="173" y="142" fill="blue" opacity="0.2" /><br />
&#160;&#160;&#160;&#160;<rect width="52" height="52" x="173" y="142" fill="none" stroke="brown" stroke-width="5" /><br />
</svg>
</span>
===Afbeelding===
[[Afbeelding:Svg-opmaak.svg]]
Informatie afkomstig van https://nl.wikibooks.org Wikibooks NL.
Wikibooks NL is onderdeel van de wikimediafoundation.

Navigatiemenu