Back to Content

SVGImageElement: x property

files/en-us/web/api/svgimageelement/x/index.md

latest360 B
Original Source

{{APIRef("SVG")}}

The x read-only property of the {{domxref("SVGImageElement")}} interface returns an {{domxref("SVGAnimatedLength")}} corresponding to the {{SVGAttr("x")}} attribute of the given {{SVGElement("image")}} element.

Value

An {{domxref("SVGAnimatedLength")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}