SVGSVGElement: createSVGPoint() Methode

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

Die Methode createSVGPoint() des SVGSVGElement-Interfaces erstellt ein DOMPoint-Objekt außerhalb von Dokumentbäumen.

Syntax

js
createSVGPoint()

Parameter

Keine.

Rückgabewert

Ein DOMPoint-Objekt, initialisiert auf den Punkt (0,0) im Benutzerkoordinatensystem.

Spezifikationen

Specification
Scalable Vector Graphics (SVG) 2
# __svg__SVGSVGElement__createSVGPoint

Browser-Kompatibilität

Siehe auch