A RetroSearch Logo

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

Search Query:

Showing content from https://developer.mozilla.org/ja/docs/Web/API/SVGTextContentElement/lengthAdjust below:

SVGTextContentElement: lengthAdjust プãƒãƒ‘ティ - Web API

SVGTextContentElement: lengthAdjust プロパティ

Baseline Widely available

lengthAdjust は SVGTextContentElement インターフェイスの読み取り専用プロパティで、この要素の lengthAdjust 属性を反映します。これはこのインターフェイスで定義されている LENGTHADJUST_* 定数のいずれかを取ります。

値

SVGAnimatedEnumeration です。

例 lengthAdjust プロパティにアクセス
<svg width="200" height="100">
  <text id="myText" x="10" y="50" textLength="100" lengthAdjust="spacing">
    Hello, SVG!
  </text>
</svg>
const textElement = document.getElementById("myText");

// `lengthAdjust` プロパティにアクセス
const lengthAdjust = textElement.lengthAdjust;

// `lengthAdjust` 属性の元値をログ出力
console.log(lengthAdjust.baseVal); // 出力: 1 (e.g. LENGTHADJUST_SPACING)
仕様書 ブラウザーの互換性 関連情報

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