---
name: "Goo::Canvas::Image"
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::Image"
---

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

wrapper for GooCanvasImage

## NAME

Goo::Canvas::Image - wrapper for GooCanvasImage

## HIERARCHY

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

## INTERFACES

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

## METHODS

### item = Goo::Canvas::Image-\>new ($parent, $pixbuf, $x, $y, ...)

- •

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

- •

  `$pixbuf` ((unknown))

- •

  `$x` (double)

- •

  `$y` (double)

- •

  ... (list)

## PROPERTIES

- 'alpha' (double : default 1 : readable / writable)

  The opacity of the image, 0.0 is fully transparent, and 1.0 is opaque.

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

  The height of the image

- 'pattern' (Goo::Cairo::Pattern : default undef : readable / writable)

  The cairo pattern to paint

- 'pixbuf' (Gtk2::Gdk::Pixbuf : default undef : writable)

  The GdkPixbuf to display

- 'scale-to-fit' (boolean : default false : readable / writable)

  If the image is scaled to fit the width and height settings

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

  The width of the image

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

  The x coordinate of the image

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

  The y coordinate of the image

## SEE ALSO

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

## COPYRIGHT

Copyright (C) 2014 Gtk2-Perl Team
