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
RectangleOutline translated(DiagramPoint delta) =>
RectangleOutline(bounds.translate(delta), cornerRadius: cornerRadius);