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