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.