---
name: "Goo::Canvas::Rect"
section: "3pm"
platform: "linux"
package: "libgoo-canvas-perl"
version: "0.06-2+b3"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Goo::Canvas::Rect"
---

# Goo::Canvas::Rect(3pm)

wrapper for GooCanvasRect

## NAME

Goo::Canvas::Rect - wrapper for GooCanvasRect

## HIERARCHY

```
  Glib::Object
  +----Goo::Canvas::ItemSimple
       +----Goo::Canvas::Rect
```

## INTERFACES

```
  Goo::Canvas::Item
```

## METHODS

### item = Goo::Canvas::Rect-\>new ($parent, $x, $y, $width, $height, ...)

- •

  `$parent` (Goo::Canvas::Item)

- •

  `$x` (double)

- •

  `$y` (double)

- •

  `$width` (double)

- •

  `$height` (double)

- •

  ... (list)

## PROPERTIES

- 'height' (double : default 0 : readable / writable)

  The height of the rectangle

- 'radius-x' (double : default 0 : readable / writable)

  The horizontal radius to use for rounded corners

- 'radius-y' (double : default 0 : readable / writable)

  The vertical radius to use for rounded corners

- 'width' (double : default 0 : readable / writable)

  The width of the rectangle

- 'x' (double : default 0 : readable / writable)

  The x coordinate of the rectangle

- 'y' (double : default 0 : readable / writable)

  The y coordinate of the rectangle

## SEE ALSO

Glib::Object, Goo::Canvas::ItemSimple

## COPYRIGHT

Copyright (C) 2014 Gtk2-Perl Team
