moved method

SPath moved(
  1. Point<double> by
)

Move the shape

Implementation

SPath moved(Point<double> by) {
  return transformed((p) => p + by);
}