X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FSet%2FPoint.pm;h=b226fd41ec6b0efed1ce2bfdf54277fae09d7198;hb=e6c6fbca8df4f8df7bbce2eb98dd260ed51d9141;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..b226fd4 100644 --- a/lib/LaTeX/TikZ/Set/Point.pm +++ b/lib/LaTeX/TikZ/Set/Point.pm @@ -15,29 +15,132 @@ Version 0.01 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', - does => 'LaTeX::TikZ::Point', + isa => 'LaTeX::TikZ::Point::Autocoerce', required => 1, + coerce => 1, + handles => [ qw/x y/ ], +); + +=head2 C