Code example for PathMeasure

Methods: getLength, getPosTan