Geometry::Primitive::Dimension - A width and height
Geometry::Primitive::Dimension encapsulates a height and width.
use Geometry::Primitive::Dimension; my $point = Geometry::Primitive::Dimeions->new(width => 100, height => 100);
Set/Get the height value.
Set/Get the width value.
Creates a new Geometry::Primitive::Point.
Compares this dimesion to another.
Return this dimesion as a string $widthx$height
Cory Watson <gphat@cpan.org>
You can redistribute and/or modify this code under the same terms as Perl itself.
To install Geometry::Primitive, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geometry::Primitive
CPAN shell
perl -MCPAN -e shell install Geometry::Primitive
For more information on module installation, please visit the detailed CPAN module installation guide.