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