);
has 'origin' => (
- is => 'ro',
- does => 'Maybe[LaTeX::TikZ::Point]',
+ is => 'ro',
+ isa => 'Maybe[LaTeX::TikZ::Point::Autocoerce]',
+ coerce => 1,
);
my $find_mods;
0.8 * $width * ($tikz->scale / 5);
}
+use LaTeX::TikZ::Interface formatter => sub {
+ shift;
+
+ __PACKAGE__->new(@_);
+};
+
__PACKAGE__->meta->make_immutable;
=head1 AUTHOR