addPath

fun addPath(path: Path2D, transform: DOMMatrixReadOnly = definedExternally)(source)

The Path2D.addPath() method of the Canvas 2D API adds one Path2D object to another Path2D object.

MDN Reference