X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FSet%2FPath.pm;h=259e1ce24c0dce96eb6b00a50e4a32614e350493;hb=3661d7849ae4636b74000e33e068493d90ed8337;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..259e1ce 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