| 1 | package Khonsu::Shape::Circle; | ||
| 2 | |||
| 3 | 2 | ▶ | use parent 'Khonsu::Shape'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | sub shape { | ||
| 6 | 1 | ▶ | my ($self, $file, $shape, %args) = @_; |
|
Subroutine
shape: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 7 | 1 | my $circle = $shape->circle($args{x} + $args{r}, $file->page->h - ($args{y} + $args{r}), $args{r}); | |
| 8 | 1 | $circle->fillcolor($args{fill_colour}); | |
| 9 | 1 | $circle->fill; | |
| 10 | } | ||
| 11 | |||
| 12 | 2 | 1; | |