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/element/hatchpath/index.html | 72 +++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 files/ja/web/svg/element/hatchpath/index.html (limited to 'files/ja/web/svg/element/hatchpath') diff --git a/files/ja/web/svg/element/hatchpath/index.html b/files/ja/web/svg/element/hatchpath/index.html new file mode 100644 index 0000000000..0b91496a8d --- /dev/null +++ b/files/ja/web/svg/element/hatchpath/index.html @@ -0,0 +1,72 @@ +--- +title: +slug: Web/SVG/Element/hatchpath +tags: + - Element + - Experimental + - Filters + - Reference + - SVG +translation_of: Web/SVG/Element/hatchpath +--- +
{{SVGRef}}{{SeeCompatTable}}
+ +

<hatchpath>SVG の要素で、 {{SVGElement("hatch")}} 要素で使用されるハッチパスを定義します。

+ +

使用場所

+ +

{{svginfo}}

+ +

属性

+ +

グローバル属性

+ + + +

固有の属性

+ + + +

DOM インターフェイス

+ +

この要素は {{domxref("SVGHatchpathElement")}} インターフェイスを実装しています。

+ +

+ +

SVG

+ +
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">
+  <defs>
+    <hatch id="hatch" hatchUnits="userSpaceOnUse" pitch="5"
+        rotate="135">
+      <hatchpath stroke="#a080ff" stroke-width="2"/>
+    </hatch>
+  </defs>
+
+  <rect fill="url(#hatch)" stroke="black" stroke-width="2"
+     x="10%" y="10%" width="80%" height="80%" />
+</svg>
+ +

結果

+ +

{{EmbedLiveSample("Example", 200, 200)}}

+ +

ブラウザーの互換性

+ + + +

{{Compat("svg.elements.hatchpath")}}

+ +

関連情報

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