(self, x0, y0, width, height, mutation_size)
| 2551 | self.pad = pad |
| 2552 | |
| 2553 | def __call__(self, x0, y0, width, height, mutation_size): |
| 2554 | pad = mutation_size * self.pad |
| 2555 | width, height = width + 2 * pad, height + 2 * pad |
| 2556 | # boundary of the padded box |
| 2557 | x0, y0 = x0 - pad, y0 - pad |
| 2558 | return Path.circle((x0 + width / 2, y0 + height / 2), |
| 2559 | max(width, height) / 2) |
| 2560 | |
| 2561 | @_register_style(_style_list) |
| 2562 | class Ellipse: |