X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FMod%2FFormatted.pm;h=e9b67a9f06c0117701cc9f70fd0d471bbca67430;hb=c872d62c868ae84bbfe6f6abe6210920cd10c9fd;hp=5bda2470b4132fdd4c9851c9374ac3ab02767022;hpb=e8f0879ade07eed4f58cd52c0771f4e1ecc90b09;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ/Mod/Formatted.pm b/lib/LaTeX/TikZ/Mod/Formatted.pm index 5bda247..e9b67a9 100644 --- a/lib/LaTeX/TikZ/Mod/Formatted.pm +++ b/lib/LaTeX/TikZ/Mod/Formatted.pm @@ -18,12 +18,22 @@ our $VERSION = '0.01'; use Any::Moose; use Any::Moose 'Util::TypeConstraints'; +=head1 ATTRIBUTES + +=head2 C + +=cut + has 'type' => ( is => 'ro', isa => enum([ qw/clip layer raw/ ]), required => 1, ); +=head2 C + +=cut + has 'content' => ( is => 'ro', isa => 'Str', @@ -34,6 +44,12 @@ coerce 'LaTeX::TikZ::Mod::Formatted' => from 'Str' => via { LaTeX::TikZ::Mod::Formatted->new(type => 'raw', content => $_) }; +=head1 METHODS + +=head2 C + +=cut + sub tag { my ($self) = @_; @@ -42,6 +58,10 @@ sub tag { __PACKAGE__->meta->make_immutable; +=head1 SEE ALSO + +L. + =head1 AUTHOR Vincent Pit, C<< >>, L.