---
name: "Geometry::Primitive::Dimension"
section: "3pm"
platform: "linux"
package: "libgeometry-primitive-perl"
version: "0.24-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Geometry::Primitive::Dimension"
---

# Geometry::Primitive::Dimension(3pm)

A width and height

## 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.
