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

NAME

LaTeX::TikZ::Set::Path - A role for set objects that can be part of a path.

VERSION

Version 0.03

DESCRIPTION

Paths are all the elements against which we can call the path method.

RELATIONSHIPS

This role consumes the LaTeX::TikZ::Set role, and as such implements the "draw" method.

METHODS

These methods are required by the interface :

  • path $formatter, $context

    Returns the TikZ code that builds a path out of the current set object as a string formatted by the LaTeX::TikZ::Formatter object $formatter. The current evaluation context is passed as the LaTeX::TikZ::Context object $context.

  • begin

    Returns a LaTeX::TikZ::Point object pointing to the beginning of the path, or undef if this path has no beginning.

  • end

    A LaTeX::TikZ::Point object pointing to the end of the path, or undef if this path has no end.

draw

SEE ALSO

LaTeX::TikZ, LaTeX::TikZ::Set.

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.