SVGImageElement

Our volunteers haven't translated this article into 日本語 yet. Join us and help get the job done!
You can also read the article in English (US).

SVG image interface

The SVGImageElement interface corresponds to the <image> element.

Interface overview

Also implement SVGElement, SVGURIReference, 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 <image> element.
y SVGAnimatedLength Corresponds to attribute y on the given <image> element.
width SVGAnimatedLength Corresponds to attribute width on the given <image> element.
height SVGAnimatedLength Corresponds to attribute height on the given <image> element.
preserveAspectRatio SVGAnimatedPreserveAspectRatio Corresponds to attribute preserveAspectRatio on the given <image> element.

Methods

The SVGImageElement interface do not provide any specific methods.

Browser compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? (Yes) ? ? ? ?
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support No support (Yes) ? ? ? ?

 

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

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