You are always drawing the full path so that's hardly surprising:
elementAt() returns a type where one of the attributes is the type of the element.Also how can I know that out of the 49 elements which are of 'moveTo' or 'lineTo' or any other type?
Bookmarks