The Path2D.addPath() method of the Canvas 2D API adds to the path the path given by the argument.