DOMPointReadOnly: z プロパティ

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 インターフェイスの z プロパティは、空間の読み取り専用の点における置く息座標 z を保持します。

もし、スクリプトでこのプロパティの値を変更する必要がある場合は、代わりに DOMPoint オブジェクトを使用 してください。

一般に、変換によって反転していないとみなされる場合、 z の正の値はユーザーに向かい(画面の外側に向かい)、 z の負の値はユーザーから離れる(画面の内側へ向かう)ことを意味します。

この点の z 座標の値を示す倍精度浮動小数点値。この値は無制限であり、無限大または無効であることが許されます(つまり、その値は NaN または ±Infinity である可能性があります)。

仕様書

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

ブラウザーの互換性

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
z

Legend

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

Full support
Full support

関連情報

  • その他の座標プロパティ: x, y, および視点位置である w