NAME

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

VERSION

Version 0.03

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, $context

    Returns an array reference of TikZ code lines required to effectively draw the current set object, formatted by the LaTeX::TikZ::Formatter object $formatter. The current evaluation context is passed as the LaTeX::TikZ::Context object $context.

mod

$set->mod(@mods)

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

layer

$set->layer($layer)

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

clip

$set->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,2011,2012,2013,2014,2015 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.