X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FPoint.pm;h=e409947a00245e16f7b32d6c9f1e4a4a52e5219c;hb=f54cadb836315572aa2c4bcb16f221da1687df7a;hp=316624860c33e0ad95985437b176ccd3af609edb;hpb=19660696c832bcff26c87d371cccc4ffe118c782;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ/Point.pm b/lib/LaTeX/TikZ/Point.pm index 3166248..e409947 100644 --- a/lib/LaTeX/TikZ/Point.pm +++ b/lib/LaTeX/TikZ/Point.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Point - Internal representation of what LaTeX::TikZ consider as 2D =head1 VERSION -Version 0.01 +Version 0.02 =cut -our $VERSION = '0.01'; +our $VERSION = '0.02'; use Any::Moose; use Any::Moose 'Util::TypeConstraints' => [ qw/ @@ -24,12 +24,26 @@ use Any::Moose 'Util::TypeConstraints' => [ qw/ register_type_constraint / ]; +=head1 ATTRIBUTES + +=head2 C + +The abscissa of the point. + +=cut + has 'x' => ( is => 'ro', isa => 'Num', required => 1, ); +=head2 C + +The ordinate of the point. + +=cut + has 'y' => ( is => 'ro', isa => 'Num', @@ -59,6 +73,10 @@ coerce 'LaTeX::TikZ::Point::Autocoerce' __PACKAGE__->meta->make_immutable; +=head1 SEE ALSO + +L. + =head1 AUTHOR Vincent Pit, C<< >>, L.