The Path2D.addPath()
method of the Canvas 2D API adds one Path2D object to another Path2D
object.
Optional
transform: DOMMatrix2DInitOptional
counterclockwise: booleanOptional
radii: number | DOMPointInit | (number | DOMPointInit)[]Optional
radii: number | DOMPointInit | Iterable<number | DOMPointInit, any, any>
The
Path2D
interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object.MDN Reference