Path2D

Path2D constructor (1 of 3)

returns a newly instantiated Path2D object

public Path2D()

See Also


Path2D constructor (2 of 3)

returns a newly instantiated Path2D object with another path as an argument (creates a copy)

public Path2D(Path2D path)
Parameter Type Description
path Path2D When invoked with another Path2D object, a copy of the path argument is created

See Also


Path2D constructor (3 of 3)

returns a newly instantiated Path2D object with a string consisting of SVG path data.

public Path2D(string d)
Parameter Type Description
d String The string consisting of SVG path data

See Also