Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
SVGPointList インターフェイスは、 SVGPoint オブジェクトのリストを表します。
SVGPointList オブジェクトは読み取り専用として指定することができます。すなわち、オブジェクトを変更しようとすると例外が発生するようにすることができます。
リスト内のアイテム数を返します。
SVGPointList.numberOfItems 読取専用リスト内のアイテム数を返します。
リスト内のすべてのアイテムを除去します。
SVGPointList.initialize()まずリスト内のすべてのアイテムを除去し、そのリストに単一の値を追加します。
SVGPointList.getItem()リストから指定した位置のアイテムを取得します。
SVGPointList.insertItemBefore()要素をリストの指定した位置に挿入します。
SVGPointList.replaceItem()リスト内のアイテムを新しいアイテムで置き換えます。
SVGPointList.removeItem()リストからアイテムを除去します。
SVGPointList.appendItem()アイテムをリストの末尾に追加します。
次の例では、 SVG の中に 5 つの座標ペアを持つ <polyline> があります。 points プロパティは SVGPointList を返します。
| Scalable Vector Graphics (SVG) 2 # InterfaceSVGPointList |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025年4月4日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.