LaTeX::TikZ::Set::Chain - A set object representing a connected path between several objects.
Version 0.03
This class consumes the LaTeX::TikZ::Set::Path and LaTeX::TikZ::Set::Container roles, and as such implements the "path", "kids" and "add" methods.
kids
The LaTeX::TikZ::Set::Path objects that form the chain.
connector
A code reference that describes how two successive elements of the chain are linked. When the "path" method is called, the connector is run repeatedly with these arguments :
The current LaTeX::TikZ::Set::Chain object.
The index $i of the current position in the chain, starting at 0 for the link between the two first elements.
$i
0
The $i-th LaTeX::TikZ::Set object in the chain.
The $i+1-th LaTeX::TikZ::Set object in the chain.
$i+1
The LaTeX::TikZ::Formatter object.
You can also pass a string, which will be upgraded to a code reference constantly returning that string ; or an array reference, which will be turned into a code reference returning the $i-th element of the array when asked for the $i-th link.
cycle
A boolean that indicates whether the path is a cycle or not.
add
path
begin
end
LaTeX::TikZ, LaTeX::TikZ::Set::Path.
Vincent Pit, <perl at profvince.com>, http://www.profvince.com.
<perl at profvince.com>
You can contact me by mail or on irc.perl.org (vincent).
irc.perl.org
Please report any bugs or feature requests to bug-latex-tikz at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=LaTeX-TikZ. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-latex-tikz at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc LaTeX::TikZ
Copyright 2010,2011,2012,2013,2014,2015 Vincent Pit, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install LaTeX::TikZ, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LaTeX::TikZ
CPAN shell
perl -MCPAN -e shell install LaTeX::TikZ
For more information on module installation, please visit the detailed CPAN module installation guide.