Geometry::Primitive::Dimension3pm
A width and height
Usage
use Geometry::Primitive::Dimension;my $point = Geometry::Primitive::Dimeions->new(width => 100, height => 100);
Overview
Geometry::Primitive::Dimension encapsulates a height and width.
Attributes
height
Set/Get the height value.
width
Set/Get the width value.
Methods
new
Creates a new Geometry::Primitive::Point.
equal_to
Compares this dimesion to another.
to_string
Return this dimesion as a string $widthx$height
Copyright & license
You can redistribute and/or modify this code under the same terms as Perl itself.
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 3 times.