X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FSet%2FPath.pm;h=a0b822618b57e55c96f07ebc0413661d397b22c8;hb=1be10f0f8ab18b5c559d8a48270dda1ebd2d78bc;hp=f7a5fb21b684deb1afca328d216f41597d42db27;hpb=b8f42942311854cb0ef8a3e34c0145846639cd2e;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ/Set/Path.pm b/lib/LaTeX/TikZ/Set/Path.pm index f7a5fb2..a0b8226 100644 --- a/lib/LaTeX/TikZ/Set/Path.pm +++ b/lib/LaTeX/TikZ/Set/Path.pm @@ -21,7 +21,7 @@ Paths are all the elements against which we can call the C method. =cut -use Any::Moose 'Role'; +use Mouse::Role; =head1 RELATIONSHIPS @@ -33,15 +33,28 @@ with 'LaTeX::TikZ::Set'; =head1 METHODS -This method is required by the interface : +These methods are required by the interface : =over 4 =item * -C +C Returns the TikZ code that builds a path out of the current set object as a string formatted by the L object C<$formatter>. +The current evaluation context is passed as the L object C<$context>. + +=item * + +C + +Returns a L object pointing to the beginning of the path, or C if this path has no beginning. + +=item * + +C + +A L object pointing to the end of the path, or C if this path has no end. =back @@ -49,6 +62,8 @@ Returns the TikZ code that builds a path out of the current set object as a stri requires qw< path + begin + end >; =head2 C @@ -84,7 +99,7 @@ You can find documentation for this module with the perldoc command. =head1 COPYRIGHT & LICENSE -Copyright 2010 Vincent Pit, all rights reserved. +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.