Goo::Canvas::ImageModel(3pm)

Goo::Canvas::ImageModel3pm

Wrapper for goocanvasimagemodel

Hierarchy

  Glib::Object
  +----Goo::Canvas::ItemModelSimple
       +----Goo::Canvas::ImageModel

Interfaces

  Goo::Canvas::ItemModel

Methods

itemmodel = Goo::Canvas::ImageModel->new ($parent, $pixbuf, $x, $y, ...)

•

$parent (Goo::Canvas::ItemModel)

•

$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

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From libgoo-canvas-perl 0.06-2+b3 in Debian 9 (Stretch). Parsed by carta from the page's man source.