Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

/var/sites/help-site.com/auto/tmp/CPAN/9677/Chart-Clicker-1.4.2/lib/Chart/Clicker/Drawing/Component.pm

/var/sites/help-site.com/auto/tmp/CPAN/9677/Chart-Clicker-1.4.2/lib/Chart/Clicker/Drawing/Component.pm


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

dimensions
Get this Component's dimensions.

draw
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

upper_left_inside_point
Get the Point for this container's upper left inside.

upper_right_inside_point
Get the Point for this container's upper right inside.


AUTHOR

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


SEE ALSO

perl(1)


LICENSE

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

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy