SELF-Treffen in Mannheim 2025
SELFHTML wird 30 Jahre alt!
Die Mitgliederversammlung findet am 24.05.2025 um 10:00 statt. Alle Mitglieder und Interessierte sind herzlich eingeladen.
Davor und danach gibt es Gelegenheiten zum gemütlichen Beisammensein. → Veranstaltungs-Ankündigung.
SVG/Attribut/lengthAdjust
Aus SELFHTML-Wiki
Das lengthAdjust-Attribut legt fest, wie der Text auf die durch das textLength-Attribut definierte Länge gestreckt oder gestaucht wird.
- Erlaubte Werte
spacing, spacingAndGlyphs
- Standardwert
spacing
- anwendbar auf
- Präsentationsattribut
nein
- mit CSS animierbar
ja
Beispiel
<text x="0" y="20" textLength="300" lengthAdjust="spacing">
Stretched using spacing only.
</text>
<text x="0" y="50" textLength="300" lengthAdjust="spacingAndGlyphs">
Stretched using spacing and glyphs.
</text>
<text x="0" y="80" textLength="100" lengthAdjust="spacing">
Shrunk using spacing only.
</text>
<text x="0" y="110" textLength="100" lengthAdjust="spacingAndGlyphs">
Shrunk using spacing and glyphs.
</text>