Returns the transformation associated with the start and end of the path curve.
Returns true if the transformation matrix was successfully returned, otherwise returns false.