Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for lengthAdjust.
Developer library 6
SVG Attribute reference
id - image-rendering - in - in2 - intercept ### K - k1 - k2 - k3 - k4 - kernelMatrix - kernelUnitLength - keyPoints - keySplines - keyTimes ### L - lang - lengthAdjust - letter-spacing - lighting-color - limitingConeAngle ### M - marker-end - marker-mid - marker-start - markerHeight - markerUnits - markerWidth - mask - maskContentUnits - maskUnits - max - media - method - min - mode ### N - numOctaves ### O
textLength
nto which the text will draw. The user agent will ensure that the text does not extend farther than that distance, using the method or methods specified by the lengthAdjust attribute. By default, only the spacing between characters is adjusted, but the glyph size can also be adjusted if you change `lengthAdjust`. By using `textLength`, you can ensure that your SVG text displays at the same width regardless of condit
lengthAdjust
The lengthAdjust attribute controls how the text is stretched into the length defined by the textLength attribute. You can use this attribute with the following SVG elements: - text - textPath - tspan ## Example ```css hidden html, body, svg { height: 100%; } ``` ```html <svg width="300" height="150" xmlns="http://www.w3.org/2000/svg"> <g font-face="sans-serif"> <text x="0" y="20" textLength="300" length
Web/SVG/Reference/Element/tspan
te glyphs individually. _Value type_: [**\<list-of-number>**](/docs/Web/SVG/Guides/Content_type#list-of-ts); _Default value_: none; _Animatable_: **yes** - lengthAdjust - : How the text is stretched or compressed to fit the width defined by the `textLength` attribute. _Value type_: `spacing` | `spacingAndGlyphs`; _Default value_: `spacing`; _Animatable_: **yes** - textLength - : A width that the text shou
Web/SVG/Reference/Element/textPath
` attribute is set, `href` has no effect. _Value type_: [**\<URL>**](/docs/Web/SVG/Guides/Content_type#url); _Default value_: none; _Animatable_: **yes** - lengthAdjust - : Where length adjustment should be applied to the text: the space between glyphs, or both the space and the glyphs themselves. _Value type_: `spacing` | `spacingAndGlyphs`; _Default value_: `spacing`; _Animatable_: **yes** - method - :
Web/SVG/Reference/Element/text
te glyphs individually. _Value type_: [**\<list-of-number>**](/docs/Web/SVG/Guides/Content_type#list-of-ts); _Default value_: none; _Animatable_: **yes** - lengthAdjust - : How the text is stretched or compressed to fit the width defined by the `textLength` attribute. _Value type_: `spacing` | `spacingAndGlyphs`; _Default value_: `spacing`; _Animatable_: **yes** - textLength - : A width that the text shou