NAME

Chart::Clicker::Drawing::Container

DESCRIPTION

A Base 'container' for all components that want to hold other components.

SYNOPSIS

my $c = Chart::Clicker::Drawing::Container->new({
  width => 500, height => 350
  background_color => 'white',
  border => Chart::Clicker::Drawing::Border->new(),
  insets => Chart::Clicker::Drawing::Insets->new(),
});

METHODS

Constructor

new
my $c = Chart::Clicker::Drawing::Container->new({
  width => 500, height => 350
  background_color => 'white',
  border => Chart::Clicker::Drawing::Border->new(),
  insets => Chart::Clicker::Drawing::Insets->new(),
});

Creates a new Container. Width and height must be specified. Border, background_color and insets are all optional and will default to undef

Instance Methods

width

Set/Get this Container's height

AUTHOR

Cory 'G' Watson <gphat@cpan.org>

SEE ALSO

perl(1), Graphics::Primitive, Layout::Manager

LICENSE

You can redistribute and/or modify this code under the same terms as Perl itself.