Apply a Shape as a Location in relative sense (i.e. update current location) to a copy of self.
(self: T, s: Shape)
| 1294 | |
| 1295 | @multimethod |
| 1296 | def moved(self: T, s: Shape) -> Shape: |
| 1297 | """ |
| 1298 | Apply a Shape as a Location in relative sense (i.e. update current location) to a copy of self. |
| 1299 | """ |
| 1300 | |
| 1301 | return self.moved(s.toLocs()) |
| 1302 | |
| 1303 | @multimethod |
| 1304 | def moved(self: T, loc: Location) -> T: |
no test coverage detected