(self, x0, y0, width, height, mutation_size)
| 2528 | self.pad = pad |
| 2529 | |
| 2530 | def __call__(self, x0, y0, width, height, mutation_size): |
| 2531 | pad = mutation_size * self.pad |
| 2532 | # width and height with padding added. |
| 2533 | width, height = width + 2 * pad, height + 2 * pad |
| 2534 | # boundary of the padded box |
| 2535 | x0, y0 = x0 - pad, y0 - pad |
| 2536 | x1, y1 = x0 + width, y0 + height |
| 2537 | return Path._create_closed( |
| 2538 | [(x0, y0), (x1, y0), (x1, y1), (x0, y1)]) |
| 2539 | |
| 2540 | @_register_style(_style_list) |
| 2541 | class Circle: |
nothing calls this directly
no test coverage detected