diff options
Diffstat (limited to 'files/ja/web/api/path2d')
-rw-r--r-- | files/ja/web/api/path2d/index.html | 2 | ||||
-rw-r--r-- | files/ja/web/api/path2d/path2d/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/files/ja/web/api/path2d/index.html b/files/ja/web/api/path2d/index.html index 97e05ee64a..3cbc91891c 100644 --- a/files/ja/web/api/path2d/index.html +++ b/files/ja/web/api/path2d/index.html @@ -13,7 +13,7 @@ translation_of: Web/API/Path2D --- <div>{{APIRef("Canvas API")}} {{SeeCompatTable}}</div> -<p>The <strong><code>Path2D</code></strong> interface of the Canvas 2D API is used to declare paths that are then later used on {{domxref("CanvasRenderingContext2D")}} objects. The<a href="/en-US/docs/Web/API/CanvasRenderingContext2D#Paths"> path methods</a> of the <code>CanvasRenderingContext2D</code> interface are present on this interface as well and are allowing you to create paths that you can retain and replay as required on a canvas.</p> +<p>The <strong><code>Path2D</code></strong> interface of the Canvas 2D API is used to declare paths that are then later used on {{domxref("CanvasRenderingContext2D")}} objects. The<a href="/ja/docs/Web/API/CanvasRenderingContext2D#Paths"> path methods</a> of the <code>CanvasRenderingContext2D</code> interface are present on this interface as well and are allowing you to create paths that you can retain and replay as required on a canvas.</p> <h2 id="Constructors">Constructors</h2> diff --git a/files/ja/web/api/path2d/path2d/index.html b/files/ja/web/api/path2d/path2d/index.html index 2a4fbfa4da..62dfba9d18 100644 --- a/files/ja/web/api/path2d/path2d/index.html +++ b/files/ja/web/api/path2d/path2d/index.html @@ -62,7 +62,7 @@ ctx.stroke(path2); <h3 id="Using_SVG_paths" name="Using_SVG_paths">SVG パスを使用する</h3> -<p>これは、<a href="/docs/Web/SVG/Tutorial/Paths">SVG パスデータ</a> を使用して <code>Path2D</code> のパスを作成する簡単なコードスニペットです。パスは点 (<code>M10 10</code>) に移ってから、水平に 80 ポイント右に移動し (<code>h 80</code>)、80 ポイント下がり (<code>v 80</code>)、80ポイント左に移動し (<code>h -80</code>)、開始点に戻ります (<code>z</code>)。</p> +<p>これは、<a href="/ja/docs/Web/SVG/Tutorial/Paths">SVG パスデータ</a> を使用して <code>Path2D</code> のパスを作成する簡単なコードスニペットです。パスは点 (<code>M10 10</code>) に移ってから、水平に 80 ポイント右に移動し (<code>h 80</code>)、80 ポイント下がり (<code>v 80</code>)、80ポイント左に移動し (<code>h -80</code>)、開始点に戻ります (<code>z</code>)。</p> <div class="hidden"> <pre class="brush: html"><canvas id="canvas"></canvas></pre> |