-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(de): translate diff [38b5682c11]
Machine translation from English using gpt-4o-2024-08-06. Source: mdn/content@38b5682 System prompt: ```md You are tasked with translating MDN Web Docs content from English to German. Ensure that the translation is accurate, preserves technical terminology, and follows the rules provided below. # Rules for Translation 1. Format: - The input is a Markdown file. - The output should be a Markdown file. - Return the raw output, without wrapping it in a Markdown code block. - Keep GFM alert syntax untranslated, such as `> [!NOTE]`, `> [!WARNING]`, and `> [!CALLOUT]`. - If the input contains HTML tags wrapped in backticks (e.g. `<video>`), make sure they are wrapped in the output. - If the input contains HTML tags escaped with a slash (e.g. `\<length>`), make sure they are escaped in the output. 2. Language: - Prefer formal language ("Sie") over informal language ("du"). 3. Code blocks: - Do not translate code blocks. - Do not translate terms wrapped in backticks. 4. Macro calls: - MDN uses macros for dynamic content insertion. These macros must remain **unchanged** and not translated. - Macro calls start with `{{`, followed by the macro name, optional parameters, and end with `}}`. - Avoid invalid macro calls by ensuring curly braces, parentheses, and quotes are closed properly. 5. Technical terms and code snippets in text: - Keep technical terms like element names, attributes, and method names in **English**. Only translate the surrounding descriptive text. 6. Links and References: - Translate link descriptions, but keep the URLs and their structure intact. - Do not change the locale in URLs. 7. Glossary: - "Browser compatibility" => "Browser-Kompatibilität" - "Guide" => "Leitfaden" - "How to" => "Anleitung" # Translation Scope Translate the following Markdown content from **English** to **German** while adhering to the rules above. ```
- Loading branch information
Showing
45 changed files
with
2,001 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
--- | ||
title: "DOMMatrix: rotateAxisAngleSelf() Methode" | ||
short-title: rotateAxisAngleSelf() | ||
slug: Web/API/DOMMatrix/rotateAxisAngleSelf | ||
l10n: | ||
sourceCommit: e65acfebb0c59023677e0bab3cc56159d2a22ed5 | ||
--- | ||
|
||
{{APIRef("Geometry Interfaces")}}{{AvailableInWorkers}} | ||
|
||
Die `rotateAxisAngleSelf()`-Methode des [`DOMMatrix`](/de/docs/Web/API/DOMMatrix)-Interfaces ist eine Transformationsmethode, die die Quellmatrix um den gegebenen Vektor und Winkel dreht und die veränderte Matrix zurückgibt. | ||
|
||
Um eine Matrix zu drehen, ohne sie zu verändern, siehe [`DOMMatrixReadOnly.rotateAxisAngle()`](/de/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle), welche eine neue gedrehte Matrix erzeugt und die ursprüngliche unverändert lässt. | ||
|
||
## Syntax | ||
|
||
```js-nolint | ||
DOMMatrix.rotateAxisAngleSelf() | ||
DOMMatrix.rotateAxisAngleSelf(rotX) | ||
DOMMatrix.rotateAxisAngleSelf(rotX, rotY) | ||
DOMMatrix.rotateAxisAngleSelf(rotX, rotY, rotZ) | ||
DOMMatrix.rotateAxisAngleSelf(rotX, rotY, rotZ, angle) | ||
``` | ||
|
||
### Parameter | ||
|
||
- `rotX` | ||
- : Eine Zahl; die x-Koordinate des Vektors, der die Rotationsachse bezeichnet. Wenn ungleich null, ist [`is2D`](/de/docs/Web/API/DOMMatrix/is2d) false. | ||
- `rotY` {{optional_inline}} | ||
- : Eine Zahl; die y-Koordinate des Vektors, der die Rotationsachse bezeichnet. Wenn nicht definiert, wird der `rotX`-Wert verwendet. Wenn ungleich null, ist [`is2D`](/de/docs/Web/API/DOMMatrix/is2d) false. | ||
- `rotZ` {{optional_inline}} | ||
- : Eine Zahl; die z-Koordinate des Vektors, der die Rotationsachse bezeichnet. Wenn nicht definiert, wird der `rotX`-Wert verwendet. | ||
- `angle` {{optional_inline}} | ||
- : Eine Zahl; der Drehwinkel um den Achsenvektor, in Grad. | ||
|
||
Falls `rotY` und `rotZ` beide fehlen, wird `rotZ` auf den Wert von `rotX` gesetzt und sowohl `rotX` als auch `rotY` sind `0`. | ||
|
||
### Rückgabewert | ||
|
||
Eine [`DOMMatrix`](/de/docs/Web/API/DOMMatrix). | ||
|
||
## Beispiele | ||
|
||
```js | ||
const matrix = new DOMMatrix(); // create a matrix | ||
console.log(matrix.rotateAxisAngleSelf(10, 20, 30, 45).toString()); | ||
/* "matrix3d( | ||
0.728, 0.609, -0.315, 0, | ||
-0.525, 0.791, 0.315, 0, | ||
0.441, -0.063, 0.895, | ||
0, 0, 0, 0, 1)" */ | ||
console.log(matrix.toString()); | ||
/* "matrix3d( | ||
0.728, 0.609, -0.315, 0, | ||
-0.525, 0.791, 0.315, 0, | ||
0.441, -0.063, 0.895, 0, | ||
0, 0, 0, 1)" */ | ||
``` | ||
|
||
## Spezifikationen | ||
|
||
{{Specifications}} | ||
|
||
## Browser-Kompatibilität | ||
|
||
{{Compat}} | ||
|
||
## Siehe auch | ||
|
||
- [`DOMMatrixReadOnly.rotateAxisAngle()`](/de/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) | ||
- [`DOMMatrix.rotateSelf()`](/de/docs/Web/API/DOMMatrix/rotateSelf) | ||
- [`DOMMatrix.rotateFromVectorSelf()`](/de/docs/Web/API/DOMMatrix/rotateFromVectorSelf) | ||
- CSS {{cssxref("transform")}} Eigenschaft und {{cssxref("transform-function/rotate3d", "rotate3d()")}} Funktion | ||
- CSS {{cssxref("rotate")}} Eigenschaft | ||
- [CSS Transforms](/de/docs/Web/CSS/CSS_transforms) Modul | ||
- SVG [`transform`](/de/docs/Web/SVG/Attribute/transform) Attribut | ||
- [`CanvasRenderingContext2D`](/de/docs/Web/API/CanvasRenderingContext2D) Interface und die [`rotate()`](/de/docs/Web/API/CanvasRenderingContext2D/rotate) Methode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
title: "DOMMatrix: rotateFromVectorSelf() Methode" | ||
short-title: rotateFromVectorSelf() | ||
slug: Web/API/DOMMatrix/rotateFromVectorSelf | ||
l10n: | ||
sourceCommit: e65acfebb0c59023677e0bab3cc56159d2a22ed5 | ||
--- | ||
|
||
{{APIRef("Geometry Interfaces")}}{{AvailableInWorkers}} | ||
|
||
Die `rotateFromVectorSelf()` Methode der [`DOMMatrix`](/de/docs/Web/API/DOMMatrix)-Schnittstelle ist eine veränderbare Transformationsmethode, die eine Matrix verändert, indem sie die Matrix um den Winkel zwischen dem angegebenen Vektor und `(1, 0)` dreht. Der Rotationswinkel wird durch den Winkel zwischen dem Vektor `(1,0)T` und `(x,y)T` im Uhrzeigersinn bestimmt, oder `(+/-)arctan(y/x)`. Wenn `x` und `y` beide `0` sind, wird der Winkel als `0` festgelegt und die Matrix nicht verändert. | ||
|
||
Um eine Matrix ohne Veränderung durch einen Vektor zu rotieren, siehe [`DOMMatrixReadOnly.rotateFromVector()`](/de/docs/Web/API/DOMMatrixReadOnly/rotateFromVector), welche eine neue rotierte Matrix erstellt, während die ursprüngliche unverändert bleibt. | ||
|
||
## Syntax | ||
|
||
```js-nolint | ||
DOMMatrix.rotateFromVectorSelf() | ||
DOMMatrix.rotateFromVectorSelf(rotX) | ||
DOMMatrix.rotateFromVectorSelf(rotX, rotY) | ||
``` | ||
|
||
### Parameter | ||
|
||
- `rotX` {{optional_inline}} | ||
- : Eine Zahl; Die x-Koordinate des x,y Vektors, der den Rotationswinkel bestimmt. Wenn nicht definiert, wird `0` verwendet. | ||
- `rotY` {{optional_inline}} | ||
- : Eine Zahl; Die y-Koordinate des x,y Vektors, der den Rotationswinkel bestimmt. Wenn nicht definiert, wird `0` verwendet. | ||
|
||
### Rückgabewert | ||
|
||
Gibt sich selbst zurück; die aktualisierte [`DOMMatrix`](/de/docs/Web/API/DOMMatrix). | ||
|
||
## Beispiele | ||
|
||
```js | ||
const matrix = new DOMMatrix(); // create a matrix | ||
console.log(matrix.rotateFromVectorSelf().toString()); | ||
// output: matrix(1, 0, 0, 1, 0, 0) (no rotation applied) | ||
console.log(matrix.rotateFromVectorSelf(10, 20).toString()); | ||
// output: matrix(0.447, 0.894, -0.894, 0.447, 0, 0) | ||
console.log(matrix.toString()); | ||
// output: matrix(0.447, 0.894, -0.894, 0.447, 0, 0) (same as above) | ||
``` | ||
|
||
## Spezifikationen | ||
|
||
{{Specifications}} | ||
|
||
## Browser-Kompatibilität | ||
|
||
{{Compat}} | ||
|
||
## Siehe auch | ||
|
||
- [`DOMMatrixReadOnly.rotateFromVector()`](/de/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) | ||
- [`DOMMatrixRead.rotateSelf()`](/de/docs/Web/API/DOMMatrixRead/rotateSelf) | ||
- [`DOMMatrixRead.rotateAxisAngleSelf()`](/de/docs/Web/API/DOMMatrixRead/rotateAxisAngleSelf) | ||
- CSS {{cssxref("transform")}} Eigenschaft und {{cssxref("transform-function/rotate3d", "rotate3d()")}} Funktion | ||
- CSS {{cssxref("rotate")}} Eigenschaft | ||
- [CSS-Transformationen](/de/docs/Web/CSS/CSS_transforms) Modul | ||
- SVG [`transform`](/de/docs/Web/SVG/Attribute/transform) Attribut | ||
- [`CanvasRenderingContext2D`](/de/docs/Web/API/CanvasRenderingContext2D) Schnittstelle und [`rotate()`](/de/docs/Web/API/CanvasRenderingContext2D/rotate) Methode |
Oops, something went wrong.