SYNOPSIS

DESCRIPTION

a Grid::Layout::Track is the space between to adjacent Grid::Layout::Lines.

Usually, a horizontal track is referred to as a row, a vertical track as a column.

METHODS

new

Creates a Grid::Layout::Track. Should not be called by the user. The constructor is called by "add_track" in Grid::Layout instead.

line_left

Returns the line to the left of the track.

Only applicable if the track is vertical ($self->{V_or_H} eq 'V').

line_right

Returns the line to the right of the track.

Only applicable if the track is vertical ($self->{V_or_H} eq 'V').

line_left

Returns the line above the track.

Only applicable if the track is vertical ($self->{V_or_H} eq 'H').

line_beneath

Returns the line beneath the track.

Only applicable if the track is vertical ($self->{V_or_H} eq 'H').

cells

my @cells = $track->cells();

Return an array of the cells in the track.

area

Copyright 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