| 1 | package Khonsu::Shape::Ellipse; | ||
| 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 $box = $shape->ellipse($args{x} + $args{w}, $file->page->h - ($args{y} + $args{h}), $args{w}, $args{h}); | |
| 8 | 1 | $box->fillcolor($args{fill_colour}); | |
| 9 | 1 | $box->fill; | |
| 10 | } | ||
| 11 | |||
| 12 | 2 | 1; | |