Is there a safe way to copy a path?

Is there a safe way to copy a path object? lets say I wanted to reverse a path, I would want to take the existing one, copy it and reverse the internal array.

I can make a new ABPath but is there any risk with copying or a safe/best way to do this?

Hi

There is no API for copying paths, but usually the data in a path that you want is the vectorPath list, that can be easily copied without any consequences.
Making a new instance of ABPath doesn’t really have any consequences either.

ok thanks for the info, what about pathIds on a new ABPath is there any issues not setting it?

After the path calculation is done, it is not used anymore.