diff options
Diffstat (limited to 'files/ru/web/api/canvasrenderingcontext2d/filltext/index.html')
-rw-r--r-- | files/ru/web/api/canvasrenderingcontext2d/filltext/index.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/files/ru/web/api/canvasrenderingcontext2d/filltext/index.html b/files/ru/web/api/canvasrenderingcontext2d/filltext/index.html index 74b759b2b1..47d83f96e4 100644 --- a/files/ru/web/api/canvasrenderingcontext2d/filltext/index.html +++ b/files/ru/web/api/canvasrenderingcontext2d/filltext/index.html @@ -11,7 +11,7 @@ translation_of: Web/API/CanvasRenderingContext2D/fillText <h2 id="Синтаксис">Синтаксис</h2> -<pre class="syntaxbox notranslate">void <var><em>ctx</em>.fillText(text, x, y [, maxWidth]);</var> +<pre class="syntaxbox">void <var><em>ctx</em>.fillText(text, x, y [, maxWidth]);</var> </pre> <h3 id="Параметры">Параметры</h3> @@ -38,12 +38,12 @@ translation_of: Web/API/CanvasRenderingContext2D/fillText <h4 id="HTML">HTML</h4> -<pre class="brush: html notranslate"><canvas id="canvas"></canvas> +<pre class="brush: html"><canvas id="canvas"></canvas> </pre> <h4 id="JavaScript">JavaScript</h4> -<pre class="brush: js; highlight:[5] notranslate">var canvas = document.getElementById("canvas"); +<pre class="brush: js; highlight:[5]">var canvas = document.getElementById("canvas"); var ctx = canvas.getContext("2d"); ctx.font = "48px serif"; @@ -55,7 +55,7 @@ ctx.fillText("Hello world", 50, 100); <div class="hidden"> <h6 id="Playable_code">Playable code</h6> -<pre class="brush: html notranslate"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> +<pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> <div class="playable-buttons"> <input id="edit" type="button" value="Edit" /> <input id="reset" type="button" value="Reset" /> @@ -65,7 +65,7 @@ ctx.font = "48px serif"; ctx.fillText("Hello world", 50, 100);</textarea> </pre> -<pre class="brush: js notranslate">var canvas = document.getElementById("canvas"); +<pre class="brush: js">var canvas = document.getElementById("canvas"); var ctx = canvas.getContext("2d"); var textarea = document.getElementById("code"); var reset = document.getElementById("reset"); |