X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FSet%2FArc.pm;h=f0a108154bca94cf37613479cbe80380716b61b1;hb=062ab95259610ce39ace60365b659d6113420ce7;hp=38fff7735d36a089e6391181cd8c6d50a9b0f86e;hpb=7f9973057cc57660599aa4a093718cf343a48198;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ/Set/Arc.pm b/lib/LaTeX/TikZ/Set/Arc.pm index 38fff77..f0a1081 100644 --- a/lib/LaTeX/TikZ/Set/Arc.pm +++ b/lib/LaTeX/TikZ/Set/Arc.pm @@ -28,7 +28,7 @@ use LaTeX::TikZ::Interface; use LaTeX::TikZ::Tools; -use Any::Moose 'Util::TypeConstraints' => [ 'find_type_constraint' ]; +use Mouse::Util::TypeConstraints 'find_type_constraint'; my $ltp_tc = find_type_constraint('LaTeX::TikZ::Point::Autocoerce'); @@ -72,7 +72,7 @@ LaTeX::TikZ::Interface->register( $set->clip( LaTeX::TikZ::Set::Polyline->new( points => [ $ua, @outside, $ub ], - cycle => 1, + closed => 1, ), ); }, @@ -101,7 +101,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.