SVG

Mit diesem Objekt ist es möglich, eine Grafik nach der Spezifikation für Scalable Vector Graphics (SVG) zu erstellen. Für Browser ohne SVG-Support wird automatisch ein Flash-Fallback verwendet.

Beispiel

10 = SVG
10 {
   width = 600
   height = 600
   value (
      <rect x="100" y="100" width="500" height="200" fill="white"
stroke="black" strokewidth="5px"/>
        <line x1="0" y1="200" x2="700" y2="200" stroke="red" stroke-
width="20px"/>
     <polygon points="185 0 125 25 185 100" transform="rotate(135 125
25)" />
     <circle cx="190" cy="150" r="40" stroke="black" stroke-width="2"
fill="yellow"/>
)
   noscript.cObject = TEXT
   noscript.cObject.value = No SVG rendering possible, please use a
browser.
}

height

integer /stdWrap

Bestimmt die Höhe des SVG.

noscript

string /stdWrap

Fallback-Ausgabe, ...

Get TypoScript kurz & gut, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.