shouldRepaint method
Implementation
@override
bool shouldRepaint(covariant EtchElement oldElement) {
if (oldElement.runtimeType != runtimeType) {
return true;
}
var e = oldElement as EtchArc;
return _rect != e._rect ||
etchStyle != e.etchStyle ||
_topLeftAlignment != e._topLeftAlignment ||
_bottomRightAlignment != e._bottomRightAlignment;
}