Friday, 15 April 2011

javascript - Reset RaphaelJS transforms -



javascript - Reset RaphaelJS transforms -

i have paper elements user can drag around , resize. there way reset these elements info subsequent transforms start that?

if utilize transform('t') changes in position or size origin of user session , if utilize transform('...t') starts previous transform. like, @ times reset origin transform('t') works these saved states. hope makes sense.

according docs @ raphael utilize following:

// reset transformation phone call method empty string el.transform("");

javascript svg raphael

No comments:

Post a Comment