X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FSet%2FPath.pm;h=86dfe446cf4a7504cc8357006b0d0a8c1d2e7afd;hb=0f9d7c1a2d11bc7001fe450cb2086e67c13a39e9;hp=5a9e59c283432bd5b814cb52fc4b28fd15ba22a9;hpb=af7d6a5aef3bf5fec0c187b3a13a14adc88251fd;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ/Set/Path.pm b/lib/LaTeX/TikZ/Set/Path.pm index 5a9e59c..86dfe44 100644 --- a/lib/LaTeX/TikZ/Set/Path.pm +++ b/lib/LaTeX/TikZ/Set/Path.pm @@ -22,11 +22,25 @@ use Any::Moose; use Any::Moose 'Util::TypeConstraints' => [ qw/subtype as where find_type_constraint/ ]; +=head1 RELATIONSHIPS + +This class consumes the L and L roles, and as such implements the L and L methods. + +=cut + with qw( LaTeX::TikZ::Set::Op LaTeX::TikZ::Set::Mutable ); +=head1 ATTRIBUTES + +=head2 C + +The L objects that from the path. + +=cut + subtype 'LaTeX::TikZ::Set::Path::Elements' => as 'Object' => where { $_->does('LaTeX::TikZ::Set::Op') }; @@ -40,6 +54,12 @@ has '_ops' => ( sub ops { @{$_[0]->_ops} } +=head1 METHODS + +=head2 C + +=cut + my $ltspe_tc = find_type_constraint('LaTeX::TikZ::Set::Path::Elements'); sub add { @@ -52,6 +72,10 @@ sub add { $set; } +=head2 C + +=cut + sub path { my $set = shift; @@ -75,6 +99,10 @@ LaTeX::TikZ::Functor->default_rule( __PACKAGE__->meta->make_immutable; +=head1 SEE ALSO + +L, L, L. + =head1 AUTHOR Vincent Pit, C<< >>, L.