shouldRepaint method
Define in what conditions the path should be repainted
Implementation
@override
bool shouldRepaint(covariant EtchPathElement oldElement) {
if (oldElement.runtimeType != runtimeType) {
return true;
}
var e = oldElement as EtchPathRelativeMoveTo;
return _point != e._point || _pointAlignment != e._pointAlignment;
}