length

Return the total length of the current contour, or 0 if no path is associated (e.g. resetPath(null))