translated method

UDocShape translated(
  1. Offset delta
)

Implementation

UDocShape translated(Offset delta) => copyWith(points: points.map((Offset point) => point + delta).toList());