{{APIRef("SVG")}}
An SVGPoint
represents a 2D or 3D point in the SVG coordinate system.
Syntax
retObject = SVGElement.createSVGPoint(x,y)
Value
The returned value is a SVGPoint object.
Example
var s = document.getElementById("svg-element-id").createSVGPoint(300, 314)