---
title: SVGGlyphRefElement
slug: Web/API/SVGGlyphRefElement
tags:
  - API
  - Deprecated
  - Reference
  - SVG
  - SVG DOM
browser-compat: api.SVGGlyphRefElement
---
{{APIRef("SVG")}}{{deprecated_header}}

The **`SVGGlyphRefElement`** interface corresponds to the {{SVGElement("glyphRef")}} elements.

{{InheritanceDiagram}}

## Properties

_This interface also inherits properties from its parent, {{domxref("SVGElement")}}._

- {{domxref("SVGGlyphRefElement.glyphRef")}}
  - : A {{domxref("DOMString")}} corresponding to the {{SVGAttr("glyphRef")}} attribute of the given element.
- {{domxref("SVGGlyphRefElement.format")}}
  - : A {{domxref("DOMString")}} corresponding to the {{SVGAttr("format")}} attribute of the given element.
- {{domxref("SVGGlyphRefElement.x")}}
  - : A float corresponding to the {{SVGAttr("x")}} attribute of the given element.
- {{domxref("SVGGlyphRefElement.y")}}
  - : A float corresponding to the {{SVGAttr("y")}} attribute of the given element.
- {{domxref("SVGGlyphRefElement.dx")}}
  - : A float corresponding to the {{SVGAttr("dx")}} attribute of the given element.
- {{domxref("SVGGlyphRefElement.dy")}}
  - : A float corresponding to the {{SVGAttr("dy")}} attribute of the given element.

## Methods

_This interface has no methods but inherits methods from its parent, {{domxref("SVGElement")}}._

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{SVGElement("glyphRef")}}
