Sets the path to be followed by the PathConstraint.
path
The this will take ownership of the Path passed to this function.
a PathConstraint
a Path