@override void transformAffectsStrokeChanged(bool from, bool to) { var parentShape = parent; if (parentShape is Shape) { parentShape.paintChanged(); } }