translated method

  1. @override
RectangleOutline translated(
  1. DiagramPoint delta
)
override

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);