X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLaTeX-TikZ.git;a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FMod%2FFormatted.pm;h=e9b67a9f06c0117701cc9f70fd0d471bbca67430;hp=5bda2470b4132fdd4c9851c9374ac3ab02767022;hb=0f9d7c1a2d11bc7001fe450cb2086e67c13a39e9;hpb=e6c6fbca8df4f8df7bbce2eb98dd260ed51d9141 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.