newPathPainted method
Implementation
bool newPathPainted(int currentPaintedPathIndex) {
return this.widget.onPaint != null &&
currentPaintedPathIndex != -1 &&
pathSegments[currentPaintedPathIndex].pathIndex - lastPaintedPathIndex >
0;
}