SVG/Attribute/lengthAdjust
Aus SELFHTML-Wiki
Das lengthAdjust-Attribut legt fest, ob nur Zeichenabstand oder auch Zeichen angepasst werden sollen.
erlaubte Werte |
spacing, spacingAndGlyphs |
---|---|
default-Wert | spacing |
erlaubt in | text, textPath, tspan |
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>