SVGImageElement

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,