| Draft documentation | Contained in the Draft distribution. |
Draft::Protozoa::Eml::Line::Draft1 - CAD line drawing-object
A line consists of two points.
Though a line consists of just two points, it should really be extended to an arbitrary number of points - A polyline.
| Draft documentation | Contained in the Draft distribution. |
package Draft::Protozoa::Eml::Line::Draft1;
use strict; use warnings; use Draft::Protozoa::Eml; use Draft::Entity::Line; use vars qw /@ISA/; @ISA = qw /Draft::Protozoa::Eml Draft::Entity::Line/;
sub _parse { my $self = shift; my $data = shift; $self->{0} = $data->{0}; $self->{1} = $data->{1}; } 1;