A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/svg/methods/getSubStringLength below:

getSubStringLength ยท WebPlatform Docs

getSubStringLength Notes Remarks

The total text advance distance includes the advance value on the glyphs (horizontal or vertical), kerning effects, letter-spacing effects, word-spacing effects, and adjustments because of the dx and dy attributes on tSpan elements.

If multiple consecutive characters are rendered inseparably (for example, as a single glyph or a sequence of glyphs, or because the range encompasses half of a surrogate pair), and if the nchars parameter is greater than 0, the measured range (i.e., total advance distance) is expanded so that each of the inseparable characters are included.

Syntax
float retVal = object.getSubStringLength(charnum, nchars);
Standards information See also Related pages Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4