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