X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FSet.pm;h=3d8112f91b0a15cb8d652c2d0e812ed44688a8d5;hb=61a93a58351bf2d238dcf81a1a557112b0c0ee85;hp=a6dd87f034b776dfbef347cb0bee2b518728f726;hpb=2cb1b719d9727a55a43758c1c3aaea2667c619f2;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ/Set.pm b/lib/LaTeX/TikZ/Set.pm index a6dd87f..3d8112f 100644 --- a/lib/LaTeX/TikZ/Set.pm +++ b/lib/LaTeX/TikZ/Set.pm @@ -20,7 +20,7 @@ use LaTeX::TikZ::Scope; use LaTeX::TikZ::Tools; -use Any::Moose 'Role'; +use Mouse::Role; =head1 ATTRIBUTES @@ -61,7 +61,9 @@ requires qw< draw >; -=head2 C +=head2 C + + $set->mod(@mods) Apply the given list of L objects to the current set. @@ -103,7 +105,9 @@ around 'draw' => sub { $body; }; -=head2 C +=head2 C + + $set->layer($layer) Puts the current set in the corresponding layer. This is a shortcut for C<< $set->mod(Tikz->layer($layer)) >>. @@ -122,7 +126,9 @@ sub layer { ) } -=head2 C +=head2 C + + $set->clip($path) Clips the current set by the path given by C<$path>. This is a shortcut for C<< $set->mod(Tikz->clip($path)) >>. @@ -164,7 +170,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.