1 package LaTeX::TikZ::Mod::Formatted;
8 LaTeX::TikZ::Mod::Formatted - Intermediate object between a modifier object and its code representation.
16 our $VERSION = '0.02';
19 use Mouse::Util::TypeConstraints qw<enum coerce from via>;
29 isa => enum([ qw<clip layer raw> ]),
43 coerce 'LaTeX::TikZ::Mod::Formatted'
45 => via { LaTeX::TikZ::Mod::Formatted->new(type => 'raw', content => $_) };
56 ref($self) . '/' . $self->type . '/' . $self->content;
59 __PACKAGE__->meta->make_immutable;
67 Vincent Pit, C<< <perl at profvince.com> >>, L<http://www.profvince.com>.
69 You can contact me by mail or on C<irc.perl.org> (vincent).
73 Please report any bugs or feature requests to C<bug-latex-tikz at rt.cpan.org>, or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=LaTeX-TikZ>.
74 I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
78 You can find documentation for this module with the perldoc command.
82 =head1 COPYRIGHT & LICENSE
84 Copyright 2010,2011,2012,2013,2014,2015 Vincent Pit, all rights reserved.
86 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
90 1; # End of LaTeX::TikZ::Mod::Formatted