createSVGPathSegClosePath method
Returns a stand-alone, parentless SVGPathSegClosePath object.
![]() ![]() |
Syntax
var retval = SVGPathElement.createSVGPathSegClosePath();Parameters
This method has no parameters.
Return value
Type: ISVGPathSegClosePath
A stand-alone, parentless SVGPathSegClosePath object.
Standards information
- Scalable Vector Graphics: Paths, Section 8.5.23
Remarks
The createSVGPathSegClosePath method returns a stand-alone, parentless straight line from the current point to the initial point of the current subpath.
See also
Show:

