logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Geometry::Primitive::Dimension - A width and height

Attributes

height
       Set/Get the height value.

   width
       Set/Get the width value.

Author

       Cory Watson <gphat@cpan.org>

Description

       Geometry::Primitive::Dimension encapsulates a height and width.

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

Name

       Geometry::Primitive::Dimension - A width and height

Synopsis

         use Geometry::Primitive::Dimension;

         my $point = Geometry::Primitive::Dimeions->new(width => 100, height => 100);

See Also