ONO::Lib::PDF::Elements::Bar

This module generates specific PDF content.

Functions

bar();

Not implemented (yet)

ONO::Lib::PDF::Elements::Bar->bar( );

percent();

This generates a percentage display bar.

Height is the height of the main bar, optional elements may be place above y or below y+height.

Switches:

-b line over bottom
-B display percent below
-t line over top
-T display percent on top

ONO::Lib::PDF::Elements::Bar->percent( $canvas, $x, $y, $width, $height, $percent, $switches, $fontsize );

percent_box();

This generates a percentage display box.

ONO::Lib::PDF::Elements::Bar->percent_box( $canvas, $x, $y, $width, $height, $weight, $percent );

Sub-Modules

none

Dependencies

Optional CPAN Modules

The following modules may be optional, but they are probably required for all features to work properly.

Code