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

概要

+ +

rect 要素はSVGの基本図形であり、四角形を生成する際の基準となる座標と、そこからの幅と高さを指定します。また、角の丸まった四角形を作ります。

+ +

+ +

シンプルな rect 要素の使い方

+ +

» rect-1.svg

+ +

角の丸い rect 要素

+ +

» rect-2.svg

+ +

属性

+ +

グローバル属性

+ + + +

専用属性

+ + + +

DOM インターフェイス

+ +

この要素は SVGRectElement インターフェイスを提供します。

+ +

使用可能な場所

+ +

{{svginfo}}

+ +

仕様

+ + + + + + + + + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('SVG2', 'shapes.html#RectElement', '<rect>')}}{{Spec2('SVG2')}}
{{SpecName('SVG1.1', 'shapes.html#RectElement', '<rect>')}}{{Spec2('SVG1.1')}}最初の定義
+ +

ブラウザー互換性

+ + + +

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

+ +

関連情報

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