aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/canvas_api/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/canvas_api/tutorial')
-rw-r--r--files/ru/web/api/canvas_api/tutorial/drawing_shapes/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ru/web/api/canvas_api/tutorial/drawing_shapes/index.html b/files/ru/web/api/canvas_api/tutorial/drawing_shapes/index.html
index 5b9e81bd3d..30225ac786 100644
--- a/files/ru/web/api/canvas_api/tutorial/drawing_shapes/index.html
+++ b/files/ru/web/api/canvas_api/tutorial/drawing_shapes/index.html
@@ -529,7 +529,7 @@ function roundedRect(ctx,x,y,width,height,radius){
new Path2D(path); // копирование из другого path
new Path2D(d); // path из SVG</pre>
-<p>Все  <a href="https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D#Paths">методы path</a> , такие как  <code>moveTo</code>,  <code>rect</code>,  <code>arc</code>, или <code>quadraticCurveTo</code>,  итп, которые мы уже знаем, доступны для объектов <code>Path2D</code></p>
+<p>Все  <a href="https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D#Paths">методы path</a> , такие как  <code>moveTo</code>,  <code>rect</code>,  <code>arc</code>, или <code>quadraticCurveTo</code>,  и т.п, которые мы уже знаем, доступны для объектов <code>Path2D</code></p>
<p>API <code>Path2D</code> также добавляет способ комбинирования путей с использованием метода <code>addPath</code>. Это может быть полезно, если вы хотите, например, создавать объекты из нескольких компонентов.</p>