X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FSet%2FPoint.pm;h=120dc7fec1ad845a565af5fe79368c5fb5d1a653;hb=062ab95259610ce39ace60365b659d6113420ce7;hp=85c35cf843f03fcdc05f48b94a13907499b9258b;hpb=e8f0879ade07eed4f58cd52c0771f4e1ecc90b09;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ/Set/Point.pm b/lib/LaTeX/TikZ/Set/Point.pm index 85c35cf..120dc7f 100644 --- a/lib/LaTeX/TikZ/Set/Point.pm +++ b/lib/LaTeX/TikZ/Set/Point.pm @@ -9,38 +9,157 @@ LaTeX::TikZ::Set::Point - A set object representing a point. =head1 VERSION -Version 0.01 +Version 0.02 =cut -our $VERSION = '0.01'; +our $VERSION = '0.02'; -use Any::Moose; +use LaTeX::TikZ::Point; -with 'LaTeX::TikZ::Set::Op'; +use LaTeX::TikZ::Interface; +use LaTeX::TikZ::Functor; + +use Mouse; +use Mouse::Util::TypeConstraints; + +=head1 RELATIONSHIPS + +This class consumes the L role, and as such implements the L method. + +=cut + +with 'LaTeX::TikZ::Set::Path'; + +=head1 ATTRIBUTES + +=head2 C + +The L object representing the underlying geometrical point. + +=cut has 'point' => ( is => 'ro', - does => 'LaTeX::TikZ::Point', + isa => 'LaTeX::TikZ::Point::Autocoerce', required => 1, + coerce => 1, + handles => [ qw ], +); + +=head2 C