![]() |
![]()
| ![]() |
![]()
NAMEGeometry::Primitive::Dimension - A width and height DESCRIPTIONGeometry::Primitive::Dimension encapsulates a height and width. SYNOPSISuse Geometry::Primitive::Dimension; my $point = Geometry::Primitive::Dimeions->new(width => 100, height => 100); ATTRIBUTESheightSet/Get the height value. widthSet/Get the width value. METHODSnewCreates a new Geometry::Primitive::Point. equal_toCompares this dimesion to another. to_stringReturn this dimesion as a string $widthx$height AUTHORCory Watson <gphat@cpan.org> COPYRIGHT & LICENSEYou can redistribute and/or modify this code under the same terms as Perl itself.
|