Update PathAnimation API and document.