translated method
This outline moved by delta, or null when the implementation cannot
translate itself. Resolution then re-runs the full shape pipeline.
Implementation
@override
VectorPathOutline translated(DiagramPoint delta) => VectorPathOutline._(
bounds.translate(delta),
List.unmodifiable([
for (final node in nodes) node.copyWith(position: node.position + delta),
]),
List.unmodifiable([for (final point in points) point + delta]),
closed,
);