Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
7 results across 6 corpora for textLength.
Encyclopedia 1
File locking
e std::fs::File; fn main() -> std::io::Result { let f = File::create("foo.txt")?; f.lock()?; Ok(()) } .NET supports file locking using a . using System.IO; var textLength = 1; var byteCount = 1; using var stream = new FileStream("foo.txt", FileMode.OpenOrCreate); stream.Lock(textLength - 1, byteCount); PHP supports file locking using the function. $fp = fopen("/tmp/lock.txt", "r+"); if (flock($fp, LOCK_EX)) { // acqu
Developer library 6
SVG Attribute reference
surfaceScale - systemLanguage ### T - tabindex - tableValues - target - targetX - targetY - text-anchor - text-decoration - text-overflow - text-rendering - textLength - title - to - transform - transform-origin - type ### U - unicode-bidi ### V - values - vector-effect - version - viewBox - visibility ### W - white-space - width - word-spacing - writing-mode ### X - x - x1 - x2 - xChannelSelector - xlink:
textLength
The **`textLength`** attribute, available on SVG text and tspan elements, lets you specify the width of the space into 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 `lengt
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
nt_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 should be scaled to fit. _Value type_: [**\<length>**](/docs/Web/SVG/Guides/Content_type#len
Web/SVG/Reference/Element/textPath
ge>**](/docs/Web/SVG/Guides/Content_type#percentage) | [**\<number>**](/docs/Web/SVG/Guides/Content_type#number); _Default value_: `0`; _Animatable_: **yes** - textLength - : The width of the space into which the text will render. _Value type_: [**\<length>**](/docs/Web/SVG/Guides/Content_type#length) | [**\<percentage>**](/docs/Web/SVG/Guides/Content_type#percentage) | [**\<number>**](/docs/Web/SVG/Guides/Cont
Web/SVG/Reference/Element/text
nt_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 should be scaled to fit. _Value type_: [**\<length>**](/docs/Web/SVG/Guides/Content_type#len