A RetroSearch Logo

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

Search Query:

Showing content from https://developer.mozilla.org/de/docs/Web/API/DOMMatrixReadOnly/is2D below:

DOMMatrixReadOnly: is2D-Eigenschaft - Web-APIs | MDN

DOMMatrixReadOnly: is2D-Eigenschaft

Baseline Widely available

Hinweis: Diese Funktion ist in Web Workers verfügbar.

Die schreibgeschützte is2D-Eigenschaft der DOMMatrixReadOnly-Schnittstelle ist ein Boolean-Flag, das true ist, wenn die Matrix 2D ist. Der Wert ist true, wenn die Matrix als 2D-Matrix initialisiert wurde und nur 2D-Transformationsoperationen angewendet wurden. Andernfalls ist die Matrix in 3D definiert und is2D ist false.

Wert

Ein Boolean-Wert.

Beispiele
// Initialize a 2D matrix
const matrix = new DOMMatrix(); // create a matrix
console.log(matrix.is2D); // output: true

// Transform in a 2D space
console.log(matrix.rotate(30).is2D); // output: true

// Apply a 3D transform
console.log(matrix.rotate(10, 20, 1).is2D); // output: false
Spezifikationen Browser-Kompatibilität Siehe auch MDN-Feedback-Box War diese Übersetzung hilfreich?

Diese Seite wurde automatisch aus dem Englischen übersetzt.


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