our $VERSION = '0.01';
+use LaTeX::TikZ::Set::Point;
+
use LaTeX::TikZ::Tools;
use Any::Moose;
has 'center' => (
is => 'ro',
- does => 'LaTeX::TikZ::Point',
+ isa => 'LaTeX::TikZ::Set::Point',
required => 1,
+ coerce => 1,
);
subtype 'LaTeX::TikZ::Set::Circle::Radius'
our $VERSION = '0.01';
+use LaTeX::TikZ::Set::Point;
+
use Any::Moose;
with 'LaTeX::TikZ::Set::Op';
has 'from' => (
is => 'ro',
- does => 'LaTeX::TikZ::Point',
+ isa => 'LaTeX::TikZ::Set::Point',
required => 1,
+ coerce => 1,
);
has 'to' => (
is => 'ro',
- does => 'LaTeX::TikZ::Point',
+ isa => 'LaTeX::TikZ::Set::Point',
required => 1,
+ coerce => 1,
);
sub path {
our $VERSION = '0.01';
+use LaTeX::TikZ::Set::Point;
+
use Any::Moose;
with 'LaTeX::TikZ::Set::Op';
has 'from' => (
is => 'ro',
- does => 'LaTeX::TikZ::Point',
+ isa => 'LaTeX::TikZ::Set::Point',
required => 1,
+ coerce => 1,
);
has 'to' => (
is => 'ro',
- does => 'LaTeX::TikZ::Point',
+ isa => 'LaTeX::TikZ::Set::Point',
required => 1,
+ coerce => 1,
);
has 'width' => (