SVGRectElement

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

SVG Rect DOM interface

The SVGRectElement interface provides access to the properties of <rect> elements, as well as methods to manipulate them.

Interface overview

Also implement SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable
Methods None
Properties
Normative document SVG 1.1 (2nd Edition)

Properties

Name Type Description
x SVGAnimatedLength Corresponds to attribute x on the given <rect> element.
y SVGAnimatedLength Corresponds to attribute y on the given <rect> element.
width SVGAnimatedLength Corresponds to attribute width on the given <rect> element.
height SVGAnimatedLength Corresponds to attribute height on the given <rect> element.
rx SVGAnimatedLength Corresponds to attribute rx on the given <rect> element.
ry SVGAnimatedLength Corresponds to attribute ry on the given <rect> element.

Methods

The SVGRectElement interface do not provide any specific methods.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) (Yes) 9.0 (Yes) (Yes)
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Not supported (Yes) ? (Yes) (Yes)

See also

ドキュメントのタグと貢献者

 このページの貢献者: fscholz, kscarfone, Sheppy, Jeremie
 最終更新者: fscholz,