++ed by:
MISHIN FARACO GETTY UKSZA HORNBURG

19 PAUSE users
10 non-PAUSE users.

Cory G Watson

NAME

Chart::Clicker::Drawing::Component

DESCRIPTION

A Component is an entity with a graphical representation.

SYNOPSIS

  my $c = new Chart::Clicker::Drawing::Component({
    location => new Chart::Clicker::Drawing::Point({
        x => $x, y => $y
    }),
    width => 500, height => 350
  });

METHODS

Constructor

new
  my $c = new Chart::Clicker::Drawing::Component({
    location => new Chart::Clicker::Drawing::Point({
        x => $x, y => $y
    }),
    width => 500, height => 350
  });

Creates a new Component.

Class Methods

raw

Draw this component.

inside_width

Get the width available in this container after taking away space for insets and borders.

inside_dimension

Get the dimension of this container's inside.

inside_height

Get the height available in this container after taking away space for insets and borders.

height

Set/Get this Component's height

location

Set/Get this Component's location

width

Set/Get this Component's height

AUTHOR

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

SEE ALSO

perl(1)