Back to Content

SVGSVGElement: createSVGAngle() method

files/en-us/web/api/svgsvgelement/createsvgangle/index.md

latest449 B
Original Source

{{APIRef("SVG")}}

The createSVGAngle() method of the {{domxref("SVGSVGElement")}} interface creates an {{domxref("SVGAngle")}} object outside of any document trees.

Syntax

js-nolint
createSVGAngle()

Parameters

None.

Return value

An {{domxref("SVGAngle")}} object, initialized to a value of 0 (unitless).

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("SVGAngle")}}