From 9fb44756a5432219d159d6892341e0a9e0582bb2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 27 Jul 2021 11:32:55 -0400 Subject: remove link 'title' attributes that's just the 'href' (de) (#1735) --- .../canvas_api/tutorial/basic_animations/index.html | 2 +- .../api/canvas_api/tutorial/basic_usage/index.html | 2 +- .../canvas_api/tutorial/drawing_shapes/index.html | 2 +- .../api/canvas_api/tutorial/drawing_text/index.html | 2 +- files/de/web/api/canvas_api/tutorial/index.html | 20 ++++++++++---------- 5 files changed, 14 insertions(+), 14 deletions(-) (limited to 'files/de/web/api/canvas_api') diff --git a/files/de/web/api/canvas_api/tutorial/basic_animations/index.html b/files/de/web/api/canvas_api/tutorial/basic_animations/index.html index 89fa97fd4d..20c72d98cb 100644 --- a/files/de/web/api/canvas_api/tutorial/basic_animations/index.html +++ b/files/de/web/api/canvas_api/tutorial/basic_animations/index.html @@ -222,7 +222,7 @@ window.requestAnimationFrame(clock);

A looping panorama

-

In this example, a panorama is scrolled left-to-right. We're using an image of Yosemite National Park we took from Wikipedia, but you could use any image that's larger than the canvas.

+

In this example, a panorama is scrolled left-to-right. We're using an image of Yosemite National Park we took from Wikipedia, but you could use any image that's larger than the canvas.

var img = new Image();
 
diff --git a/files/de/web/api/canvas_api/tutorial/basic_usage/index.html b/files/de/web/api/canvas_api/tutorial/basic_usage/index.html
index 1cfa846355..418414e3af 100644
--- a/files/de/web/api/canvas_api/tutorial/basic_usage/index.html
+++ b/files/de/web/api/canvas_api/tutorial/basic_usage/index.html
@@ -57,7 +57,7 @@ original_slug: Web/Guide/HTML/Canvas_Tutorial/Grundlagen
 
 

Der Kontext

-

{{HTMLElement("canvas")}} stellt mehrere Kontexte zum Zeichnen auf dem canvas zur Verfügung. Der Standardkontext ist der 2D-Kontext. Es gibt noch WebGL (3D context) basierend auf OpenGL ES.

+

{{HTMLElement("canvas")}} stellt mehrere Kontexte zum Zeichnen auf dem canvas zur Verfügung. Der Standardkontext ist der 2D-Kontext. Es gibt noch WebGL (3D context) basierend auf OpenGL ES.

Zuerst ist das canvas leer. Mithilfe von JavaScript definiert man den Kontext und zeichnet mit diesem. Das {{HTMLElement("canvas")}}-Element hat eine Methode getContext(), mit der der Kontext definiert wird. getContext() benötigt nur einen String als Argument, den Typ des Kontextes. Für 2D-Grafiken ist dieser String "2d".

diff --git a/files/de/web/api/canvas_api/tutorial/drawing_shapes/index.html b/files/de/web/api/canvas_api/tutorial/drawing_shapes/index.html index f12dc90556..5a7ed7c7c4 100644 --- a/files/de/web/api/canvas_api/tutorial/drawing_shapes/index.html +++ b/files/de/web/api/canvas_api/tutorial/drawing_shapes/index.html @@ -257,7 +257,7 @@ Dieses Beispiel zeigt Kreisbügen mit den unterschiedlichsten Parametern:

Bezier und quadratische Kurven

-

Bézierkurven sind in kubischer und quadratischer Form enthalten. Damit kann man ziemlich komplexe Strukturen zeichnen.

+

Bézierkurven sind in kubischer und quadratischer Form enthalten. Damit kann man ziemlich komplexe Strukturen zeichnen.

quadraticCurveTo(cp1x, cp1y, x, y)
diff --git a/files/de/web/api/canvas_api/tutorial/drawing_text/index.html b/files/de/web/api/canvas_api/tutorial/drawing_text/index.html index 78ecf28150..dce56e22b7 100644 --- a/files/de/web/api/canvas_api/tutorial/drawing_text/index.html +++ b/files/de/web/api/canvas_api/tutorial/drawing_text/index.html @@ -79,7 +79,7 @@ original_slug: Web/Guide/HTML/Canvas_Tutorial/Drawing_text

These properties might be familiar to you, if you have worked with CSS before.

-

The following diagram from the WHATWG demonstrates the various baselines supported by the textBaseline property.The top of the em square is
+<p>The following diagram from the <a class=WHATWG demonstrates the various baselines supported by the textBaseline property.The top of the em square is
 roughly at the top of the glyphs in a font, the hanging baseline is
 where some glyphs like आ are anchored, the middle is half-way
 between the top of the em square and the bottom of the em square,
diff --git a/files/de/web/api/canvas_api/tutorial/index.html b/files/de/web/api/canvas_api/tutorial/index.html
index 99ff410a90..8aa9787cb5 100644
--- a/files/de/web/api/canvas_api/tutorial/index.html
+++ b/files/de/web/api/canvas_api/tutorial/index.html
@@ -35,18 +35,18 @@ original_slug: Web/Guide/HTML/Canvas_Tutorial
  <li><a href=Canvas topic page

  • Drawing Graphics with Canvas
  • Canvas examples
  • -
  • HTML5 Tutorial
  • +
  • HTML5 Tutorial
  • Drawing Text Using a Canvas
  • Adding Text to Canvas
  • -
  • Canvas Drawing and Animation Application
  • -
  • Interactive canvas tutorial
  • -
  • Canvas Cheat Sheet with all attributes and methods
  • -
  • Adobe Illustrator to Canvas plug-in
  • -
  • HTML5CanvasTutorials
  • -
  • How to draw N grade Bézier curves with the Canvas API
  • -
  • 31 days of canvas tutorials
  • -
  • W3C Standard
  • -
  • HTML5 Canvas tutorials and reference
  • +
  • Canvas Drawing and Animation Application
  • +
  • Interactive canvas tutorial
  • +
  • Canvas Cheat Sheet with all attributes and methods
  • +
  • Adobe Illustrator to Canvas plug-in
  • +
  • HTML5CanvasTutorials
  • +
  • How to draw N grade Bézier curves with the Canvas API
  • +
  • 31 days of canvas tutorials
  • +
  • W3C Standard
  • +
  • HTML5 Canvas tutorials and reference
  • {{ Next("Web/Guide/HTML/Canvas_tutorial/Basic_usage") }}
    -- cgit v1.2.3-54-g00ecf