table of contents
Geometry::Primitive::Dimension(3pm) | User Contributed Perl Documentation | Geometry::Primitive::Dimension(3pm) |
NAME¶
Geometry::Primitive::Dimension - A width and height
DESCRIPTION¶
Geometry::Primitive::Dimension encapsulates a height and width.
SYNOPSIS¶
use Geometry::Primitive::Dimension; my $point = Geometry::Primitive::Dimeions->new(width => 100, height => 100);
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
AUTHOR¶
Cory Watson <gphat@cpan.org>
COPYRIGHT & LICENSE¶
You can redistribute and/or modify this code under the same terms as Perl itself.
2022-12-12 | perl v5.36.0 |