The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

LaTeX::TikZ::Set - Base role for LaTeX::TikZ set objects.

VERSION

Version 0.02

ATTRIBUTES

mods

Returns the list of the LaTeX::TikZ::Mod objects associated with the current set.

METHODS

This method is required by the interface :

  • draw $formatter

    Returns an array reference of TikZ code lines required to effectively draw the current set object, formatted by the LaTeX::TikZ::Formatter object $formatter.

mod @mods

Apply the given list of LaTeX::TikZ::Mod objects to the current set.

layer $layer

Puts the current set in the corresponding layer. This is a shortcut for $set->mod(Tikz->layer($layer)).

clip $path

Clips the current set by the path given by $path. This is a shortcut for $set->mod(Tikz->clip($path)).

SEE ALSO

LaTeX::TikZ.

AUTHOR

Vincent Pit, <perl at profvince.com>, http://www.profvince.com.

You can contact me by mail or on irc.perl.org (vincent).

BUGS

Please report any bugs or feature requests to bug-latex-tikz at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=LaTeX-TikZ. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc LaTeX::TikZ

COPYRIGHT & LICENSE

Copyright 2010 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.