Path2D

Path2D()

returns a newly instantiated Path2D object

public Path2D()

See Also


Path2D(Path2D)

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

public Path2D(Path2D path)
ParameterTypeDescription
pathPath2DWhen invoked with another Path2D object, a copy of the path argument is created

See Also


Path2D(string)

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

public Path2D(string d)
ParameterTypeDescription
dStringThe string consisting of SVG path data

See Also