X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FSet%2FPoint.pm;h=424d6d1d719579df1984acf280c0338ebe243f33;hb=0f9d7c1a2d11bc7001fe450cb2086e67c13a39e9;hp=868fd5b1d7adfd355c9a360e414672a43e9a3d42;hpb=30f5ed56f488e23570b3ed768de0614c99dcd70e;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ/Set/Point.pm b/lib/LaTeX/TikZ/Set/Point.pm index 868fd5b..424d6d1 100644 --- a/lib/LaTeX/TikZ/Set/Point.pm +++ b/lib/LaTeX/TikZ/Set/Point.pm @@ -17,16 +17,68 @@ our $VERSION = '0.01'; use LaTeX::TikZ::Point; +use LaTeX::TikZ::Interface; +use LaTeX::TikZ::Functor; + use Any::Moose; use Any::Moose 'Util::TypeConstraints'; +=head1 RELATIONSHIPS + +This class consumes the L role, and as such implements the L method. + +=cut + with 'LaTeX::TikZ::Set::Op'; +=head1 ATTRIBUTES + +=head2 C + +The L object representing the underlying geometrical point. + +=cut + has 'point' => ( is => 'ro', isa => 'LaTeX::TikZ::Point::Autocoerce', required => 1, coerce => 1, + handles => [ qw/x y/ ], +); + +=head2 C