Converts the given object to path.
Unlike Path.fromPathLike, it returns the same path object if the object was already a path.
Object to convert
The path built
Converts the given object to path.
Unlike Path.fromPathLike, it returns the same path object if the object was already a path.