]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/commitdiff
Make Set::Point delegates ->x and ->y to the underlying point
authorVincent Pit <vince@profvince.com>
Wed, 21 Jul 2010 13:10:25 +0000 (15:10 +0200)
committerVincent Pit <vince@profvince.com>
Wed, 21 Jul 2010 13:10:25 +0000 (15:10 +0200)
lib/LaTeX/TikZ/Set/Point.pm

index 868fd5b1d7adfd355c9a360e414672a43e9a3d42..eee96b0fa55c97c0b98cc1994a2aed69f614169b 100644 (file)
@@ -27,6 +27,7 @@ has 'point' => (
  isa      => 'LaTeX::TikZ::Point::Autocoerce',
  required => 1,
  coerce   => 1,
+ handles  => [ qw/x y/ ],
 );
 
 coerce 'LaTeX::TikZ::Set::Point'