Path.combine()

The Path.combine() method combines this path with one or more other paths into a single Path instance.

Any gaps in the path (caused by move operations) will be left as-is, rather than joined with a line. If that’s not what you want, you should use Path.join() instead.

Signature

Javascript
Path path.combine(path other)

Examples

Notes

Path.combine() method is variadic, so you can pass multiple paths to join