DOMPointReadOnly: w プロパティ

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

DOMPointReadOnly インターフェイスの w プロパティは、この点の視点位置である w を保持します。これは空間内の読み取り専用の点です。

スクリプトでこのプロパティの値を変更できるようにする必要がある場合は、代わりに DOMPoint オブジェクトを使用する必要があります。

この点の w 視点位置 を示す倍精度浮動小数点値です。この値は無制限であり,無限大でも無効値でも構いません(つまり,その値は NaN または ±Infinity であってもかまいません)。既定値は 1.0 である。

仕様書

Specification
Geometry Interfaces Module Level 1
# dom-dompointreadonly-w

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
w

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

関連情報

  • その他の座標プロパティ: x, y, and z