From 980fe00a74a9ad013b945755415ace2e5429c3c2 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 27 Oct 2021 02:31:24 +0300 Subject: [RU] Remove notranslate (#2874) --- .../canvasrenderingcontext2d/createlineargradient/index.html | 6 +++--- files/ru/web/api/canvasrenderingcontext2d/ellipse/index.html | 10 +++++----- files/ru/web/api/canvasrenderingcontext2d/filltext/index.html | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) (limited to 'files/ru/web/api/canvasrenderingcontext2d') diff --git a/files/ru/web/api/canvasrenderingcontext2d/createlineargradient/index.html b/files/ru/web/api/canvasrenderingcontext2d/createlineargradient/index.html index c6793693ce..1a6a91d285 100644 --- a/files/ru/web/api/canvasrenderingcontext2d/createlineargradient/index.html +++ b/files/ru/web/api/canvasrenderingcontext2d/createlineargradient/index.html @@ -22,7 +22,7 @@ translation_of: Web/API/CanvasRenderingContext2D/createLinearGradient

Синтаксис

-
CanvasGradient ctx.createLinearGradient(x0, y0, x1, y1);
+
CanvasGradient ctx.createLinearGradient(x0, y0, x1, y1);
 

Метод createLinearGradient() принимает четыре аргумента для определения начала и конца точек линии градиента.

@@ -55,12 +55,12 @@ translation_of: Web/API/CanvasRenderingContext2D/createLinearGradient

HTML

-
<canvas id="canvas"></canvas>
+
<canvas id="canvas"></canvas>
 

JavaScript

-
var canvas = document.getElementById('canvas');
+
var canvas = document.getElementById('canvas');
 var ctx = canvas.getContext('2d');
 
 // Создание линейного градиента
diff --git a/files/ru/web/api/canvasrenderingcontext2d/ellipse/index.html b/files/ru/web/api/canvasrenderingcontext2d/ellipse/index.html
index 3ac6af2315..9bbe6aa749 100644
--- a/files/ru/web/api/canvasrenderingcontext2d/ellipse/index.html
+++ b/files/ru/web/api/canvasrenderingcontext2d/ellipse/index.html
@@ -15,7 +15,7 @@ translation_of: Web/API/CanvasRenderingContext2D/ellipse
 
 

Синтаксис

-
void ctx.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, anticlockwise]);
+
void ctx.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, anticlockwise]);
 

ellipse() - метод, который создаёт эллиптическую дугу с центром в точках (x, y) с радиусом radiusX и radiusY. Путь начинается от точки startAngle и заканчивается в точке endAngle, идёт по направлению, казанному в параметре (по часовой стрелке или против неё) anticlockwise .

@@ -49,12 +49,12 @@ translation_of: Web/API/CanvasRenderingContext2D/ellipse

HTML

-
<canvas id="canvas" width="200" height="200"></canvas>
+
<canvas id="canvas" width="200" height="200"></canvas>
 

JavaScript

-
const canvas = document.getElementById('canvas');
+
const canvas = document.getElementById('canvas');
 const ctx = canvas.getContext('2d');
 
 // Рисование эллипса
@@ -80,12 +80,12 @@ ctx.stroke();
 
 

HTML

-
<canvas id="canvas"></canvas>
+
<canvas id="canvas"></canvas>
 

JavaScript

-
const canvas = document.getElementById('canvas');
+
const canvas = document.getElementById('canvas');
 const ctx = canvas.getContext('2d');
 
 ctx.fillStyle = 'red';
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
 
 

Синтаксис

-
void ctx.fillText(text, x, y [, maxWidth]);
+
void ctx.fillText(text, x, y [, maxWidth]);
 

Параметры

@@ -38,12 +38,12 @@ translation_of: Web/API/CanvasRenderingContext2D/fillText

HTML

-
<canvas id="canvas"></canvas>
+
<canvas id="canvas"></canvas>
 

JavaScript

-
var canvas = document.getElementById("canvas");
+
var canvas = document.getElementById("canvas");
 var ctx = canvas.getContext("2d");
 
 ctx.font = "48px serif";
@@ -55,7 +55,7 @@ ctx.fillText("Hello world", 50, 100);