Except for those Grid::Layout::LineSections that make up the border of the entire Grid, each LineSection lies between two adjacent Grid::Layout::Cells.
A Grid::Layout::Line is made up of Grid::Layout::Lines
This method is called by "new" twice to initialize the vertical and the horizontal components of the layout.
The parameter 'V' or 'H' indiciates which componenents to initialize.
Internal function, called by "_add_track", to add a vertical or horizontal Grid::Layout::Line.
my $x = $gl->size_x();
Returns the horizontal size (x axis) in logical cell units.
my $y = $gl->size_y();
Returns the vertical size (y axis) in logical cell units.
Returns size of grid (nof vertical tracks x nof horizontal tracks);
my ($v, $h) = $gl -> size();
my $cell = $gl->cell($v, $x);
Return the Grid::Layout::Cell at horizontal position $x and vertical position $y.
my $line = $gl->line_x($postition);
Returns the $positionth line in horizontal direction.
my $line = $gl->line_y($postition);
Returns the $positionth line in vertical direction.
my $line = $gl->_line($V_or_H, $position)
Returns the $positionth line in vertical or horizontal direction.
Copyright © 2017 René Nyffenegger, Switzerland. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the the Artistic License (2.0). You may obtain a copy of the full license at: http://www.perlfoundation.org/artistic_license_2_0
To install Grid::Layout, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.