X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;ds=sidebyside;f=lib%2FLaTeX%2FTikZ%2FSet.pm;h=5b80633d66a9ea3f6305ef70c3e4bba73c77659e;hb=4f696c03a66ef6b52ee7b9b3c74a71d5abc64f7e;hp=44ee46fdbbbf2575e6dd09b00f733e9be31f1a3a;hpb=3661d7849ae4636b74000e33e068493d90ed8337;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ/Set.pm b/lib/LaTeX/TikZ/Set.pm index 44ee46f..5b80633 100644 --- a/lib/LaTeX/TikZ/Set.pm +++ b/lib/LaTeX/TikZ/Set.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set - Base role for LaTeX::TikZ set objects. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Context; use LaTeX::TikZ::Scope; @@ -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.