From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/svg/attribute/stroke/index.html | 69 ++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 files/ja/web/svg/attribute/stroke/index.html (limited to 'files/ja/web/svg/attribute/stroke/index.html') diff --git a/files/ja/web/svg/attribute/stroke/index.html b/files/ja/web/svg/attribute/stroke/index.html new file mode 100644 index 0000000000..27c7ebdebe --- /dev/null +++ b/files/ja/web/svg/attribute/stroke/index.html @@ -0,0 +1,69 @@ +--- +title: stroke +slug: Web/SVG/Attribute/stroke +tags: + - SVG + - SVG Attribute +translation_of: Web/SVG/Attribute/stroke +--- +

« SVG Attribute reference home

+ +

stroke属性は与えられた図形要素の外側に描画される色を定義します。stroke属性のデフォルト値は none です.

+ +

使用可能な場所

+ + + + + + + + + + + + + + + + + + + + +
カテゴリプレゼンテーション属性
+

<paint>, context-fill, context-stroke

+
アニメーション
標準文書SVG 1.1 (2nd Edition)
+ +

+ +

SVG Line with stroke

+ +

例1: stroke を使用した直線

+ +
<svg height="50" width="300">
+    <path stroke="green" d="M5 20 1215 0" />
+</svg>
+ +

{{ EmbedLiveSample('例1_stroke_を使用した直線', '300', '50', '', 'Web/SVG/Attribute/stroke') }}

+ +

例2: 黒丸の枠線として青い stroke を使用

+ +
​​<svg height="100" width="100">
+    <circle cx="50" cy="50" r="40" stroke="blue" stroke-width="2" fill="black" />
+</svg>
+ +

{{ EmbedLiveSample('例2_黒丸の枠線として青い_stroke_を使用', '100', '120', '', 'Web/SVG/Attribute/stroke') }}

+ +

context-stroke を使用する

+ +

非標準かつ機能が制限されたcontext-stroke (およびcontext-fill) については {{cssxref("-moz-context-properties")}} プロパティを参照して下さい。

+ +

要素

+ +

以下の要素でstroke属性を使用できます。

+ + -- cgit v1.2.3-54-g00ecf