The Wayback Machine - https://web.archive.org/web/20150930114649/https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement

Join MDN and developers like you at Mozilla's View Source conference, November 2-4 in Portland, Oregon. Learn more at https://viewsourceconf.org/.

SVGImageElement

by 5 contributors:

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 Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? ? ? ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Not supported ? ? ? ?

 

Document Tags and Contributors

Contributors to this page: fscholz, kscarfone, Sheppy, pa7, Jeremie
Last updated by: fscholz,