Returns a ContourMeasure for the first contour in the path. A contour is
a sequence of path segments between moveTo operations. Use the ‘next’
property on the returned ContourMeasure to iterate through subsequent
contours. Returns nil if the path has no contours.